Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Prevent PivotTable Overwrite Warning and Disallow Overwrite

Hello -

I'm using Excel 2007 and am changing the contents of a PivotTable with
VBA. I would like to programmatically suppress the warning message
produced when a PivotTable changes size and would overwrite non-empty
cells below or to the right of the table and disallow the overwriting.
The message asks, "Do you want to replace the contents of the
destination cells in <<Worksheet Name?"

Using Application.DisplayAlerts = FALSE prevents the warning message,
but it allows the overwriting. What can I use, perhaps in addition, to
disallow the overwriting?

Thanks.

- Jonah
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
Save As / Overwrite Brent E Excel Discussion (Misc queries) 4 October 23rd 08 08:19 PM
Data validation - prevent cell overwrite David Excel Programming 3 March 19th 07 02:10 PM
ReDim=overwrite? Arne Hegefors Excel Programming 1 August 22nd 06 05:01 PM
overwrite SP[_3_] Excel Programming 2 April 22nd 05 06:15 PM
Overwrite changes dialogue box Anna Kee Excel Discussion (Misc queries) 0 January 18th 05 03:41 PM


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