Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How does a macro total columns when sheets have diff row counts?
I am trying to have a recorded macro sum the columns in my range. My
spredsheets have differing row counts so I want my macro to recognize and sum accordingly. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How does a macro total columns when sheets have diff row counts?
One way:
Dim dSum As Double With ActiveSheet dSum = Application.Sum(.Range( _ .Cells(1, 1), .Cells(.Rows.Count, 1)) End With In article , Chuck@qgold wrote: I am trying to have a recorded macro sum the columns in my range. My spredsheets have differing row counts so I want my macro to recognize and sum accordingly. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro that counts the Nbr of Teams and calculate the total & Ratio | Excel Discussion (Misc queries) | |||
macro to compile columns on multiple sheets | Excel Discussion (Misc queries) | |||
Is it possible to build macro that compares diff workbook columns | Excel Worksheet Functions | |||
show in a excel graphic a total percentage for 5 diff data fiels | Charts and Charting in Excel | |||
Averages and Counts from different columns | Excel Worksheet Functions |