View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson[_5_] Jim Thomlinson[_5_] is offline
external usenet poster
 
Posts: 486
Default Suppress "Disable/Enable Macros" and Query Refresh dialog on open

The only way to suppress the security warning to enable macros is to set the
security to low. There is no way to do this through code as viruses would
just exploit this for their own fiendish purposes. The user can set it to low
but I don't recommend it. In short the answer is no...
--
HTH...

Jim Thomlinson


"Sharon" wrote:

Hi
I have a workbook that opens to a home screen with buttons allowing the user
to select which pivots should update and then displays the relevant sheets.
When the workbook is opened it prompts with the Security dialog and the query
refresh dialog. Is there any way of turning them off and then back on again
when the workbook is closed? Thanks.
--
Sharon