Agnarr
New Member
- Joined
- Jan 15, 2023
- Messages
- 29
- Office Version
- 365
- Platform
- Windows
Hello Everyone!
I desperately need your help!
I need a code to do the following:
sheet "template": column a must always have a numeric value. column b must always have alphabetic value.
sheet "colors": column A and B will have the values as needed. For example 100 is Black, 200 is Blue etc.
Any time I type in column A of "template" a numeric value like 100 column B should write "Black". If I type "Black" in column A then column A must be replaced by "100" and column B should show "Black".
And if I type anything other than what's on the list in the sheet "colors" then no automatic changes should be made. Like i can type the code 888 in column A and manually type "Camo" in column B and the vba should do nothing about it.
Thank you all in advance!
I desperately need your help!
I need a code to do the following:
sheet "template": column a must always have a numeric value. column b must always have alphabetic value.
sheet "colors": column A and B will have the values as needed. For example 100 is Black, 200 is Blue etc.
Any time I type in column A of "template" a numeric value like 100 column B should write "Black". If I type "Black" in column A then column A must be replaced by "100" and column B should show "Black".
And if I type anything other than what's on the list in the sheet "colors" then no automatic changes should be made. Like i can type the code 888 in column A and manually type "Camo" in column B and the vba should do nothing about it.
Thank you all in advance!