Hi,
I am new to VBA and would like someone to help me on this little query?
I need an IF statement using VBA that looks at the following cells in col "A" and creates the result in col "C":
If cell A1 = "Tokyo", then "East" , A2 = "London", then "West" A3 = "Johannesburg" then "South" A4 = "Oslo" then "North"
Of course this would be part of a large sheet with maybe over 2000 lines so the macro would need to loop down until it reaches the last line....
I really would appreciate if someone can do this for me and explain what they did so I can understand the logic!
I am new to VBA and would like someone to help me on this little query?
I need an IF statement using VBA that looks at the following cells in col "A" and creates the result in col "C":
If cell A1 = "Tokyo", then "East" , A2 = "London", then "West" A3 = "Johannesburg" then "South" A4 = "Oslo" then "North"
Of course this would be part of a large sheet with maybe over 2000 lines so the macro would need to loop down until it reaches the last line....
I really would appreciate if someone can do this for me and explain what they did so I can understand the logic!