How to disable several popups when opening a file manually (not programatically)

Scotty81

New Member
Joined
Nov 14, 2006
Messages
39
Hi,

I've seen several answers out there when trying to suppress messages when opening an Excel file programmatically. But, I haven't seen a definitive reply to my specific scenario. Here it is. I have a file I want to put on a share. I want to have users (manually) open the file as read only, either by marking it as such, or by specifying the folder it is in as read only. I envision several users opening this file at a time and to interact with the various pivot tables I have in the file. That is, they would select different filter criteria and see the new results. No one would be saving the file.

First, I would like to disable the message that one gets when one already has the file open and then a 2nd person wants to open the file.
Second, I want to disable the automatic popup that one gets about having to enter a password (since the file is to be saved as requiring a password for modifications).

Note: if the file resides on a "read only" share, it may NOT need to be saved as requiring a password to open it for writing. In that case, requirement 2 goes away. However, requirement one is a must have since that will unfortunately, confuse our users.

Without opening the file programmatically, is there any way in Excel (I currently have 2013, but most users have 2010) to accomplish this? I can write VBA code to perform functions as necessary, but others have commented that the code won't run (even on Auto Open) until after the above messages have been displayed. If there is no way I can accomplish this without opening the file programmatically, that would be important to know too.

Many thanks in advance.

Scotty81
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top