message when saving workbook

D

DaveWallace

When I save my workbook - which has a pivot table - I get
the message "All pending GetData or RefreshDate commands
have been completed".
I need to update and save this workbook via VBA, so I
can't have that message popping up, preventing the
workbook from being saved.
How do I let Excel know that the workbook is in fact ready
to save and close?
Thanks for your help!!!

-Dave
 
B

Bob Phillips

Dave,

Don't use pivot tables myself, but try adding

Application.DisplayAlerts = False

before your code, and reset at the end.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
D

Dave Wallace

HTH,
Thanks for the suggestion.
I tried it , but the message still comes up.
Any further ideas?
Thanks!

-Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top