Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to add subtotals to data which varies in both the number of row and
the number of columns. I can determine the last row and the last column using; xlApp.Range("A1").Select z = xlApp.ActiveSheet.UsedRange.Column - 1 + xlApp.ActiveSheet.UsedRange.Columns.Count y = xlApp.ActiveSheet.UsedRange.Row - 1 + xlApp.ActiveSheet.UsedRange.Rows.Count My question is how do insert into a loop counting the coumn numbers a calculation that subtotals, the data above it. I have tried everything I can think of in terms of substituting variables but no luck Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with subtotal function | Excel Worksheet Functions | |||
Subtotal Problem | Excel Worksheet Functions | |||
Subtotal & #n/a problem | Excel Programming | |||
subtotal problem | Excel Programming | |||
subtotal problem | Excel Programming |