Shared workbook questions

Bagharmin

Board Regular
Joined
Nov 22, 2010
Messages
168
Sorry about the vague title.

I have a workbook that will (once completed) be shared between many users. I've created a userform where each person selects their name from a list and enters their password (saved on a hidden worksheet) in order to use the workbook. Once in, the main thing the users will be doing is entering data on another userform. Simple enough so far.

My problem (or at least I think it's going to be a problem) is that, when a user pulls up the userform to enter their data, I want a certain textbox on that form to be populated with that user's name. When signing in, I was taking the user's name and putting it in a cell. Then, when they pulled up the userform I was populating the text box with the contents of that cell. However, from my very limited understanding of shared workbooks, when another user signs in, the cell with the first user's name would then have the new user's name. And even though the first user might still be using the workbook, anytime the userform is activated it would show the 2nd user's name.

What can I do to make sure that the name of the user who activates the userform is the one whose name shows in the textbox?:eeek:

Would it be better to have them re-sign-in (so to speak) when pulling up the userform so it would know whose name to use? I don't really want to put a bunch of extra hoops in front of them.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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