Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Remove Entire subtotal row will be deleted

Hi I have been using a script that removes subtotals from worksheets, then
updates data, then adds in subotal again. It had been working. I then updated
the macro script as I required extra columns in for the subtotalling. now I
receive the message "Entire subtotal row will be deleted." is there a way of
supressing this message so the macro script will run without monitoring?
Many THanks in advance for any help. Noel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Remove Entire subtotal row will be deleted

Any chance you could post the code?

"NoelH" wrote:

Hi I have been using a script that removes subtotals from worksheets, then
updates data, then adds in subotal again. It had been working. I then updated
the macro script as I required extra columns in for the subtotalling. now I
receive the message "Entire subtotal row will be deleted." is there a way of
supressing this message so the macro script will run without monitoring?
Many THanks in advance for any help. Noel

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Remove Entire subtotal row will be deleted

Hi
code is
Range("A1").Select 'Start of Sheet
ActiveSheet.Outline.ShowLevels RowLevels:=2 'compress
ActiveCell.Offset(12, 0).Range("A1").Select 'moves to the first cell
of the subtotal list
Selection.End(xlDown).Select 'moves to the end of the list
Selection.RemoveSubtotal 'removes the subtotal
Range("a1").Select



I have noticed that in other files I do not have this error. So now I'm
think it might be an tool--options setting
"crazybass2" wrote:

Any chance you could post the code?

"NoelH" wrote:

Hi I have been using a script that removes subtotals from worksheets, then
updates data, then adds in subotal again. It had been working. I then updated
the macro script as I required extra columns in for the subtotalling. now I
receive the message "Entire subtotal row will be deleted." is there a way of
supressing this message so the macro script will run without monitoring?
Many THanks in advance for any help. Noel

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Remove Entire subtotal row will be deleted

Hi

I used the good old "displayalerts" code to stop the message.

Thanks for your help.
Noel

"crazybass2" wrote:

Any chance you could post the code?

"NoelH" wrote:

Hi I have been using a script that removes subtotals from worksheets, then
updates data, then adds in subotal again. It had been working. I then updated
the macro script as I required extra columns in for the subtotalling. now I
receive the message "Entire subtotal row will be deleted." is there a way of
supressing this message so the macro script will run without monitoring?
Many THanks in advance for any help. Noel

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
How to remove listed shortcuts for deleted Excel files? Dave Excel Discussion (Misc queries) 1 August 11th 08 01:06 AM
Remove Cell Color after Code is Deleted [email protected] Excel Discussion (Misc queries) 4 February 20th 07 07:37 PM
Formula Error when entire row is deleted Dileep Chandran Excel Worksheet Functions 1 November 9th 06 11:31 AM
Problem with Remove Subtotal in Macro Jerry Cropanese Excel Programming 1 June 28th 05 04:18 AM
Remove subtotal where only one item Biff[_2_] Excel Programming 2 March 1st 05 02:51 PM


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

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"