Thread: SubTotals
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jarek Kujawa[_3_] Jarek Kujawa[_3_] is offline
external usenet poster
 
Posts: 37
Default SubTotals

try

Application.DisplayAlerts = False
Selection.RemoveSubtotal
Range("F8:AA321").Select

Użytkownik "MikeM" napisał w wiadomości
...
I have a Macro that takes current subtotal in a range and removes them.
However, the Macro Stop and gives me a Message Box telling me that "Entire
SubTotal will be deleted" Choice of OK or Cancel. How can I have it not
ask
me this and just automatically run remove the SubTotal?
The line simple reads as follows:

Selection.RemoveSubtotal
Range("F8:AA321").Select
--
MJM