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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,224,883
Messages
6,181,550
Members
453,052
Latest member
ezzat

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