Hi all
I have learned loads from the posters on this site - so thanks to all of you for being generous with your knowledge!
I am hoping one of you can help me! I am trying to create a macro to do the following:
In column A will be the following letters R,A,G,C in no particular order. for example:
R
G
R
A
etc etc
The number of entries in column A will vary week by week.
In column B next to each entry in column A will be a cell containing some text, for example: "Jun Red blah blah"
I am trying to create a macro that will go down column A and:
If the entry in column A is "R" then format the 4th character of the cell in column B Red
If the entry in column A is "G" then format the 4th character of the cell in column B Green
If the entry in column A is "A" then format the 4th character of the cell in column B Amber
If the entry in column A is "C" then format the 4th character of the cell in column B Blue
The Macro should go down column A until it gets to the last entry in column A then stop!
I really hope you can help with this - I'm completely stumped with it!!
Many thanks in advance!!!
Chris
I have learned loads from the posters on this site - so thanks to all of you for being generous with your knowledge!
I am hoping one of you can help me! I am trying to create a macro to do the following:
In column A will be the following letters R,A,G,C in no particular order. for example:
R
G
R
A
etc etc
The number of entries in column A will vary week by week.
In column B next to each entry in column A will be a cell containing some text, for example: "Jun Red blah blah"
I am trying to create a macro that will go down column A and:
If the entry in column A is "R" then format the 4th character of the cell in column B Red
If the entry in column A is "G" then format the 4th character of the cell in column B Green
If the entry in column A is "A" then format the 4th character of the cell in column B Amber
If the entry in column A is "C" then format the 4th character of the cell in column B Blue
The Macro should go down column A until it gets to the last entry in column A then stop!
I really hope you can help with this - I'm completely stumped with it!!
Many thanks in advance!!!
Chris