I'm very new to VBA and figuring it out through YouTube videos and online google searches. I'm having some problems finding out how to do an If Then statement in VBA.
I have the same text that can be found in either cell A47 or B47. The text is "Other." I want to do an If statement that says if the text "Other" is found in Cell B47 to copy and paste it into cell A47. However, if the text doesn't appear in cell B47 I don't want it to do anything because it already exists in cell A47. I will also need for it to repeat throughout my workbook for each tab within. These tabs all have different names so I can't reference "Sheet1, Sheet2, etc." I would also prefer not to use any msg boxes or activate buttons.
Anyone know how to accomplish this?
Your help will be greatly appreciated!
I have the same text that can be found in either cell A47 or B47. The text is "Other." I want to do an If statement that says if the text "Other" is found in Cell B47 to copy and paste it into cell A47. However, if the text doesn't appear in cell B47 I don't want it to do anything because it already exists in cell A47. I will also need for it to repeat throughout my workbook for each tab within. These tabs all have different names so I can't reference "Sheet1, Sheet2, etc." I would also prefer not to use any msg boxes or activate buttons.
Anyone know how to accomplish this?
Your help will be greatly appreciated!