Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Subtotal in a shared workbook

i have a macro that subtotals a range of cells but it doesn't work in a
shared workbook. I know that it's one of the drawback of excel. Does anyone
have a clever way to subtotal a range of cells in a shared workbook?

This is my code.


Sub Subtotals()

Selection.Subtotal GroupBy:=11, Function:=xlSum, TotalList:=Array(6,
12), _
Replace:=True, PageBreaks:=False, SummaryBelowData:=True
ActiveSheet.Outline.ShowLevels RowLevels:=2
End Sub

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
shared workbook baha Excel Discussion (Misc queries) 2 December 15th 07 07:41 PM
Shared Workbook DamienO Excel Discussion (Misc queries) 0 November 2nd 07 12:44 PM
Printing viewing a shared workbook on a shared drive aloomba Excel Discussion (Misc queries) 0 April 13th 07 02:52 PM
update pivot in shared shared workbook 00George00 Excel Discussion (Misc queries) 1 August 23rd 06 08:16 PM
Shared workbook Trish Lockhart Excel Discussion (Misc queries) 0 April 12th 05 07:02 PM


All times are GMT +1. The time now is 07:10 AM.

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

About Us

"It's about Microsoft Excel"