Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Pivot Table Updating Issue

Can you help?

I am using a macro to update a pivot tbae but when I run the macro a
dialogue box appears saying:

Do you want to replace the destination cells in report3?

The answer to the question is always Yes but how do I get the macro to answe
yes and not to display the fialogue box to the user?

Many thanks,

Nick.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Pivot Table Updating Issue

Nick,

Try setting the DisplayAlerts property to False. E.g.,

Application.DisplayAlerts = False
' your code here
Application.DisplayAlerts = True

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Nick" wrote in message
...
Can you help?

I am using a macro to update a pivot tbae but when I run the

macro a
dialogue box appears saying:

Do you want to replace the destination cells in report3?

The answer to the question is always Yes but how do I get the

macro to answe
yes and not to display the fialogue box to the user?

Many thanks,

Nick.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Pivot Table Updating Issue

Spot On!!

Thanks for that Chip.

Regards,

Nick.

"Chip Pearson" wrote in message
...
Nick,

Try setting the DisplayAlerts property to False. E.g.,

Application.DisplayAlerts = False
' your code here
Application.DisplayAlerts = True

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Nick" wrote in message
...
Can you help?

I am using a macro to update a pivot tbae but when I run the

macro a
dialogue box appears saying:

Do you want to replace the destination cells in report3?

The answer to the question is always Yes but how do I get the

macro to answe
yes and not to display the fialogue box to the user?

Many thanks,

Nick.






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pivot Table Updating Issue

An alternative would be to clear the area that might be impacted by the
pivot table, prior to modifying the table. If the data can be overwritten
(i.e. it is no longer needed) it would seem to be appropriate to remove it
in every case.

--
Regards,
Tom Ogilvy

Nick wrote in message
...
Can you help?

I am using a macro to update a pivot tbae but when I run the macro a
dialogue box appears saying:

Do you want to replace the destination cells in report3?

The answer to the question is always Yes but how do I get the macro to

answe
yes and not to display the fialogue box to the user?

Many thanks,

Nick.




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
updating pivot table.! via135 Excel Discussion (Misc queries) 2 October 22nd 09 06:27 PM
One pivot table cannot overlap another pivot issue. Avi Excel Discussion (Misc queries) 1 October 5th 09 02:29 PM
Pivot Table - Updating Victor Delta[_2_] Excel Discussion (Misc queries) 4 April 14th 08 10:58 PM
updating pivot table Gibran Excel Discussion (Misc queries) 1 October 11th 05 10:34 PM
Pivot Table not Updating Ranelle Excel Worksheet Functions 0 June 13th 05 05:13 PM


All times are GMT +1. The time now is 11:10 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"