View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
NYbills NYbills is offline
external usenet poster
 
Posts: 4
Default Macro for Automatic Subtotals

Would like to create a macro that will auto subtotal a A/R Collection report.
The data is pulled externally then I subtotal the information. I created a
macro but the problem that I have is the rows change everyday. For example,
today the reports shows 1184 rows tomorrow it can show either more or less
than this number. If I run this macro with the rows not being 1184 the
output is not the same.

How do I create the macro to know that when the last line with data is the
ending range/row? Any comments would be greatly appreciated.