If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > prompted to refresh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-04, 14:43
JoeG JoeG is offline
Registered User
 
Join Date: Dec 2003
Posts: 172
prompted to refresh

Anybody know how to remove the prompt to refresh a pivot table when it opens?

I tried this registry change (listed for excel 2k) and modified the location from 9.0 to 11.0 but it didn't help:
http://support.microsoft.com/default...d=kb;IT;248204

TIA
Reply With Quote
  #2 (permalink)  
Old 04-22-04, 15:04
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Have you tried Application.DisplayAlerts = False?

Smitty
Reply With Quote
  #3 (permalink)  
Old 04-22-04, 15:48
JoeG JoeG is offline
Registered User
 
Join Date: Dec 2003
Posts: 172
i think that will work on automation but what about if a user opens it manually? i tried alerts=false in workbook open but i think the security message fires before that
Reply With Quote
  #4 (permalink)  
Old 04-22-04, 19:07
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
There's no getting around the Macro Security message if security is set to Medium or High. You can set the security to Low, but that's not advisable unless you've got a Virus Scan program running.

A better plan is to get a Digital Certificate. The Microsoft Knowledge Base details the process pretty well.

There are also ways to "force" users into enabling macros by setting all the sheets except a "dashboard" sheet to XLVeryHidden in the Workbook_Open event with an explanation that Macros must be enabled in order to access the worksheet.

Similar to the Password required workbook I'm attaching.

Hope that helps,

Smitty
Attached Files
File Type: zip password.zip (25.0 KB, 13 views)
Reply With Quote
  #5 (permalink)  
Old 04-22-04, 19:22
JoeG JoeG is offline
Registered User
 
Join Date: Dec 2003
Posts: 172
Smitty,

I get the prompt even on low. I have the certs no problem but I was wondering if this latest Excel prompt could even be disabled. For example some of the new security features (even the ones that have been around a while in XP) such as the Outlook object model guard prompt can't be turned off (even with a cert - in Outlook's case you have to install an MS Exchange form and registry hack.)

Joe G
Reply With Quote
  #6 (permalink)  
Old 04-22-04, 19:31
Smitty Smitty is offline
Registered User
 
Join Date: Dec 2003
Location: San Diego, CA
Posts: 153
Wow, I can't think of what would be causing you to get the security prompt when the level is set to Low.

Smitty
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On