Glad to. . I currently store a high level summary of my reports in another
Excel spreadsheet for all of our reports by transferring a simple array.
(TallyCnt=Public Number of records held in the array)
Workbooks.Open TallyWB
Worksheets(TallyTab).Select
SearchRng = "a1:z10"
TallyRow = FdString("Date", SearchRng, "Rw") + 1
Worksheets(TallyTab).Rows(TallyRow).Insert Shift:=xlDown,
CopyOrigin:=xlFormatFromRightOrBelow
'''Loop through the counts and add to the chart
Cells(TallyRow, 1).Value = Date
For iCnt = 1 To TallyCnt
With Range(SearchRng)
‘Find the right column for the Line of Business or Add a new column
Set c = .Find(myTally(1, iCnt), LookIn:=xlValues,
LookAt:=xlWhole, MatchCase:=True)
If Not c Is Nothing Then
TallyCol = c.Column
Else
'''Add new LOB if not present
TallyCol = Cells(TallyRow - 1, 1).End(xlToRight).Column
+ 1
Cells(TallyRow - 1, TallyCol).Value = myTally(1, iCnt)
End If
End With
Cells(TallyRow, TallyCol).Value = myTally(2, iCnt)
Next iCnt
The trending requirements have now expanded to demanded more information
than could be economically tracked in Excel for every line of business.
I want to build an array myTally(2,x) in Excel to track the results from my
reports. The first field would be the value NAME and the second field is the
VALUE for as many fields as necessary.
I'd like to take that array and export it to an Access Database temp table
then run a query in Access to disseminate the temp table results to a
permanent table. That query would be looking at the field NAME to determine
its position in the permanent log table.
My problem is getting myTally(2,x) into Access. Does that help clarify the
issue?
Candyman