Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear all
I am accumulating monthly totals in a an array defined as: Dim MonthTotal(1 To 12) As Variant The following single line of code works in Excel 2000: SheetCell.Offset(0, 1).Resize(, 12) = MonthTotal But, in Excel 97 at work, for some reason it creates text values with $ signs (followed by a space) So, instead, I've had to resort to this: For i = 1 To 12 SheetCell.Offset(0, i) = MonthTotal(i) Next 'i It's not a problem as such as I've found a workaround. However, I would like to understand what, if anything, I'm doing wrong ... or is this a difference between Excel 97 and Excel 2000 ? Regards Trevor |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formatting of charts changes when copying from excel 2000 to 200. | Charts and Charting in Excel | |||
excel 2000 - array formulas | Excel Worksheet Functions | |||
Excel 2000 problem copying drawingobjects between sheets | Excel Discussion (Misc queries) | |||
Copying subtotals in Excel 2000 | Excel Discussion (Misc queries) | |||
Excel 2000 filling/copying | Setting up and Configuration of Excel |