Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 349
Default Sub totalling in VBA

Is it possible to replicate the subtotaling Excel does in DataSubtotals
using VBA? I don't need the 3 worksheets layout, just a single worksheet
sorted by (say)column A then and subtotalling selected columns after each of
record in column A.
Any ideas gratefully recieved.
Thanks
--
Peter
London, UK
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Sub totalling in VBA

Turn on the macro recorder when you sort your data, then apply data|subtotals.

But I'm not sure what the "3 worksheets layout" is.

Peter wrote:

Is it possible to replicate the subtotaling Excel does in DataSubtotals
using VBA? I don't need the 3 worksheets layout, just a single worksheet
sorted by (say)column A then and subtotalling selected columns after each of
record in column A.
Any ideas gratefully recieved.
Thanks
--
Peter
London, UK


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable totalling Sena Excel Discussion (Misc queries) 1 June 7th 08 09:56 PM
Totalling volumes per box Brian Excel Worksheet Functions 5 December 6th 06 06:40 PM
totalling enyaw Excel Discussion (Misc queries) 1 May 9th 06 08:19 PM
Totalling x no of cols [email protected] Excel Programming 2 October 26th 05 01:03 PM
Totalling lists Peter Excel Discussion (Misc queries) 7 September 23rd 05 08:53 PM


All times are GMT +1. The time now is 11:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"