Agnarr
New Member
- Joined
- Jan 15, 2023
- Messages
- 29
- Office Version
- 365
- Platform
- Windows
Hello everybody and you all do an amazing work.
I need your help please and i apologize in advance for any mistakes (English is not my native language).
I have an excel where I need to type a 4 digit code in a cell and when after pressing enter, I need it to be replaced by a name corresponding to said 4-digit code.
There is a separate sheet with the list of each code to a name.
For example:
Type in cell C4 "3625" and hit enter. Automatically it changes into "Mr. Addams".
I'm not even sure something like this is possible. I tried to to work my way around this but my vba knowledge is limited.
If the above is not possible then please help me solve this: Check each cell in a column and for each cell that is not blank have it copied to another cell in another column.
Example:
In column C cells 1,2,5, and 8 have values. Have these cells be copied in column z in the 1,2,4 and 8 position accordingly but for each cell that becomes blank, clear contents from the corresponding one as well. (if i delete values from c3 have the cell in z3 also become empty).
All of the above i would need them to work for any sheet i place the macro in, so no ties to worksheets names.
Thank you all in advance. Any help will be appreciated.
I need your help please and i apologize in advance for any mistakes (English is not my native language).
I have an excel where I need to type a 4 digit code in a cell and when after pressing enter, I need it to be replaced by a name corresponding to said 4-digit code.
There is a separate sheet with the list of each code to a name.
For example:
Type in cell C4 "3625" and hit enter. Automatically it changes into "Mr. Addams".
I'm not even sure something like this is possible. I tried to to work my way around this but my vba knowledge is limited.
If the above is not possible then please help me solve this: Check each cell in a column and for each cell that is not blank have it copied to another cell in another column.
Example:
In column C cells 1,2,5, and 8 have values. Have these cells be copied in column z in the 1,2,4 and 8 position accordingly but for each cell that becomes blank, clear contents from the corresponding one as well. (if i delete values from c3 have the cell in z3 also become empty).
All of the above i would need them to work for any sheet i place the macro in, so no ties to worksheets names.
Thank you all in advance. Any help will be appreciated.