#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Suppress PopUp

In Excell 2000, I have successfully refreshed a pivot table via VBA code.
However at the end of the process I get a Microsoft popup.

PivotTable
ImportD... BoxType Success... OPTSta... OPTSta...
DISCO_... Division Prin Years

These are all the fields in the source data. But how do I, in code,
suppress this popup?

Thanks
--
Shell
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Suppress PopUp

try this:
Application.DisplayAlerts = False
....your table refresh code
Application.DisplayAlerts = True

Untested with a pivot table, so your mileage may vary...

"Shell" wrote:

In Excell 2000, I have successfully refreshed a pivot table via VBA code.
However at the end of the process I get a Microsoft popup.

PivotTable
ImportD... BoxType Success... OPTSta... OPTSta...
DISCO_... Division Prin Years

These are all the fields in the source data. But how do I, in code,
suppress this popup?

Thanks
--
Shell

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default Suppress PopUp

This does NOT work
--
Shell


"JLatham" wrote:

try this:
Application.DisplayAlerts = False
...your table refresh code
Application.DisplayAlerts = True

Untested with a pivot table, so your mileage may vary...

"Shell" wrote:

In Excell 2000, I have successfully refreshed a pivot table via VBA code.
However at the end of the process I get a Microsoft popup.

PivotTable
ImportD... BoxType Success... OPTSta... OPTSta...
DISCO_... Division Prin Years

These are all the fields in the source data. But how do I, in code,
suppress this popup?

Thanks
--
Shell

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Suppress PopUp

Can you post the code to help diagnosis?

--
If this is the answer you hoped for please remember to click the yes button
below...

Kind regards

Rik


"Shell" wrote:

This does NOT work
--
Shell


"JLatham" wrote:

try this:
Application.DisplayAlerts = False
...your table refresh code
Application.DisplayAlerts = True

Untested with a pivot table, so your mileage may vary...

"Shell" wrote:

In Excell 2000, I have successfully refreshed a pivot table via VBA code.
However at the end of the process I get a Microsoft popup.

PivotTable
ImportD... BoxType Success... OPTSta... OPTSta...
DISCO_... Division Prin Years

These are all the fields in the source data. But how do I, in code,
suppress this popup?

Thanks
--
Shell

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Suppress PopUp

At the end of the macro is the active cell in the pivot table?

If so try selecting a cell in the code that is not part of the pivot table
after the refresh...

--
If this is the answer you hoped for please remember to click the yes button
below...

Kind regards

Rik


"Shell" wrote:

This does NOT work
--
Shell


"JLatham" wrote:

try this:
Application.DisplayAlerts = False
...your table refresh code
Application.DisplayAlerts = True

Untested with a pivot table, so your mileage may vary...

"Shell" wrote:

In Excell 2000, I have successfully refreshed a pivot table via VBA code.
However at the end of the process I get a Microsoft popup.

PivotTable
ImportD... BoxType Success... OPTSta... OPTSta...
DISCO_... Division Prin Years

These are all the fields in the source data. But how do I, in code,
suppress this popup?

Thanks
--
Shell



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
Suppress @VALUE! on a template. Sol Excel Discussion (Misc queries) 4 December 2nd 08 10:48 PM
Suppress a row DCN Excel Worksheet Functions 2 January 22nd 07 07:16 PM
Suppress popup "Do you really want to save..." after open and immediate close of excel sheets ? Markus Obermayer Excel Discussion (Misc queries) 2 January 2nd 07 02:12 PM
Suppress popup "Do you really want to save..." after open and immediate close of excel sheets ? Markus Obermayer Excel Worksheet Functions 2 January 2nd 07 02:12 PM
"Why did we get here????" popup jtwspoon Excel Discussion (Misc queries) 3 February 4th 05 04:57 AM


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