tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
Firstly I know this wont stop people if they want to hack the document but thats not the point
I have excel documents that have to get signed of by managers by staff.
Its a simple cell that says "Managers approval signature" then they type ther name into a cell,
the problem with this is its just a little too easy for someone just to tyoe the name in,
So what id like to do is this.
I have a sheet Called "Control" which is very hidden
This Sheet holds the ID codes In Column A and the Names in Column B
So with sheets "Orders" we have a cell "L66" and the Managers must put in there Code, when its entered the macro takes that code and find the name in column B then puts that name into cell "L66" and locks the cell
So simply put,
Manager has to type ID into L66,
macro trys to find whats typed in sheet "Control" Column A,
if it can not find anything it clears the cell and says "User ID Not Recognised!"
If it finds a match it takes the name in column B and puts it into L66 and locks that cell.
please help if you can
Thanks
Tony
Firstly I know this wont stop people if they want to hack the document but thats not the point
I have excel documents that have to get signed of by managers by staff.
Its a simple cell that says "Managers approval signature" then they type ther name into a cell,
the problem with this is its just a little too easy for someone just to tyoe the name in,
So what id like to do is this.
I have a sheet Called "Control" which is very hidden
This Sheet holds the ID codes In Column A and the Names in Column B
So with sheets "Orders" we have a cell "L66" and the Managers must put in there Code, when its entered the macro takes that code and find the name in column B then puts that name into cell "L66" and locks the cell
So simply put,
Manager has to type ID into L66,
macro trys to find whats typed in sheet "Control" Column A,
if it can not find anything it clears the cell and says "User ID Not Recognised!"
If it finds a match it takes the name in column B and puts it into L66 and locks that cell.
please help if you can
Thanks
Tony