Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subtotal Mode?

Status
Not open for further replies.

ColdDay

Technical User
Nov 30, 2010
92
US
I need to loop thru all the sheets in my wb. If they have been subtotaled, go to the next sheet. If they have not, then subtotal them on a specific column.

I know the looping code. It's the "How do I determine if the sheet has been subtotaled" code that I am in need of.

Thanks.
 
I'd just force all Subtotals off and then build them from scratch to ensure it's built the way you want it.

Code:
Cells.RemoveSubtotal

[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ 181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top