Hi all, new to this great resource.
I am trying to figure out how to do the following:
On worksheet "S" I have a range of n x m dimension that is dynamic, and I want to test the string value (alphanumeric) of any given cell on worksheet "S" against data I have on a separate worksheet "R" of a 2 column dynamic range(B & C columns to n rows). Specifically, to test the value of said string on "S" of any cell against all values stored in column B. Once a match is found, a comment is added to the tested cell and the corresponding alphabetical string in column C of "S" is then inserted into the comment body.
In summary:
Worksheet "R" contains:
Column B alphanumeric dynamic list of n rows
Column C alphabetic dynamic list of n rows that corresponds to Column B in that n is equal and each row of values is linked
Worksheet "S" contains:
Dynamic range of n x m dimension whose cell values correspond to Worksheet "R" Column B alphanumeric values exclusively
Example: Worksheet "S" cells D23, E11, and AS6 contain the string "XJ6502"
Worksheet "R" columns B-C has element B6 containing the string "XJ6502" and C6 contains the string "Program AECSG"
Upon clicking commandbutton VBA matches the contents of D23, E11, and AS6 on "S" with B6 on "R" and creates a comment in D23, E11, and AS6 on "S", then inserts the value of C6 on "R" into the newly created comment windows of D23, E11, and AS6.
This program should disregard blank cells and if possible, should not input the user information upon comment creation. I am new to posting so I tried to be very detailed, not sure if this is common practice but the forum rules did not specify brevity. I would greatly appreciate any input on how to go about doing this.
I am trying to figure out how to do the following:
On worksheet "S" I have a range of n x m dimension that is dynamic, and I want to test the string value (alphanumeric) of any given cell on worksheet "S" against data I have on a separate worksheet "R" of a 2 column dynamic range(B & C columns to n rows). Specifically, to test the value of said string on "S" of any cell against all values stored in column B. Once a match is found, a comment is added to the tested cell and the corresponding alphabetical string in column C of "S" is then inserted into the comment body.
In summary:
Worksheet "R" contains:
Column B alphanumeric dynamic list of n rows
Column C alphabetic dynamic list of n rows that corresponds to Column B in that n is equal and each row of values is linked
Worksheet "S" contains:
Dynamic range of n x m dimension whose cell values correspond to Worksheet "R" Column B alphanumeric values exclusively
Example: Worksheet "S" cells D23, E11, and AS6 contain the string "XJ6502"
Worksheet "R" columns B-C has element B6 containing the string "XJ6502" and C6 contains the string "Program AECSG"
Upon clicking commandbutton VBA matches the contents of D23, E11, and AS6 on "S" with B6 on "R" and creates a comment in D23, E11, and AS6 on "S", then inserts the value of C6 on "R" into the newly created comment windows of D23, E11, and AS6.
This program should disregard blank cells and if possible, should not input the user information upon comment creation. I am new to posting so I tried to be very detailed, not sure if this is common practice but the forum rules did not specify brevity. I would greatly appreciate any input on how to go about doing this.