Macro to See Whether Other Users in a Shared Workbook at the Same Time?

ssh

New Member
Joined
Dec 12, 2005
Messages
34
Hello,
Is there any way to write a macro such that a user can see whether there is someone else in the workbook at the same time? The workbook has sharing enabled on it. I tried doing some research online but couldn't find anything.

I set up a login userform that requires a person to submit their login and password to make changes to the workbook. Once the user logs in, it writes to a cell (not visible to the user), the username. Then a second user might log in with their own username and password, which would then overwrite that cell value.

This is a problem because I use the value in that cell to "stamp" their actions in the worksheet. If the second user's info is in that cell, then when the first user performs an action and stamps their username, the second user's name shows up.

Any suggestions to handle this problem would be much appreciated!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,224,315
Messages
6,177,843
Members
452,809
Latest member
mar_luna

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