Call Password Username before cell entry

kelvin p

New Member
Joined
Aug 7, 2009
Messages
26
Hi Excel Guru's,

I trying to create a paperless petty cash system. I have my sheet all setup and calculating how I want. When a user makes an entry they Enter their name in column "W".

I am trying to overcome the problem of accountability. I need to achieve a cell calls for Username and Password and if correct the persons name is entered into cell then Row is locked to prevent figures being altered etc. But also if user made mistake they need to unlock it somehow someway :confused:

Sure this achievable from snippets of info I seen online but its way beyond my abilities. I realise a determined user can circumvent this if they wanted to.

Any help\pointers would be much appreciated.

All examples I have found are for login but doesnt suit me as someone could log in but then input whatever name they want to column W
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi,

May I have the samples you mentioned/downloaded from web?
I would like to see the different with your ideas.
Thanks.

Best regards,
CS
 
Upvote 0
Something Like this be perfect.

But only call form when clicking in cell in Column W then insert that username.

Been looking to adapt this FILE

Thanks
 
Upvote 0
You can use a Change event to automatically input the user name with Environ("username"). Then you don't need to worry about the users entering the correct name.
 
Upvote 0
VBA novice here.

I have put file together. Please see attached file EXAMPLE

It only needs 3 things.

1 Call form when cell clicked in column W
2 Lock Row after entry
3 Trying to work out admin password from code but cant see it

Any help much appreciated
 
Upvote 0

Forum statistics

Threads
1,215,527
Messages
6,125,337
Members
449,218
Latest member
Excel Master

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