Seamus2626
asked on
Say yes to prompt
Hi,
I have a macro which runs a report where the pivots refresh. On the refresh i am often promted
"Do you want to replace the contents of the destination cells in Screen"
YES/NO
Can i put a line of code after pivot refresh to surpress this message, always saying YES.
Thanks
Seamus
I have a macro which runs a report where the pivots refresh. On the refresh i am often promted
"Do you want to replace the contents of the destination cells in Screen"
YES/NO
Can i put a line of code after pivot refresh to surpress this message, always saying YES.
Thanks
Seamus
No - you have to clear the area before you refresh, I think (assuming DisplayAlerts doesn't work)
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Your right, it does!!
Thanks
Seamus
Thanks
Seamus