Single User/Read-Only Macro

DanA1509

New Member
Joined
Oct 17, 2013
Messages
33
Hi there,

I am looking for help in creating a macro that restricts access to a workbook to a single user to have editing privileges when first opened, and any subsequent person opening that document to have read-only access.

The document is a job booking system that allows people to write basic information that feeds into the spreadsheet document so I don't want two people booking the job using the same code. I have a time-out macro written into the document as well that will shut down the original document if unused for 5 minutes.

Although I am an old hand with general excel I'm not very clued up with macros so please bear with me when trying to explain things.

Thank you for your help,
Dan</SPAN>
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
While a normal (non-shared) workbook is open, only the first user has editing privileges ...That's the default behaviour.
 
Upvote 0
Well that wsa a lot simpler than I thought, however is there a way to limit people creating a local copy and updating on that? Or is this just fanciful thinking?
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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