Hi there,
I have the below VBA code, but I need to know how to amend it so that it does the code on every line until there is nothing in the next cell? Also if the if statement is not = "Journal", then I want it to go to the next cell and do the same test.
ActiveSheet.Range("J22").Select
If ActiveCell = ("Journal") Then
Range("T22").Select
ActiveCell.FormulaR1C1 = "=RC[-2]&"" ""&RC[-1]"
Hope you can help me
Thank you
I have the below VBA code, but I need to know how to amend it so that it does the code on every line until there is nothing in the next cell? Also if the if statement is not = "Journal", then I want it to go to the next cell and do the same test.
ActiveSheet.Range("J22").Select
If ActiveCell = ("Journal") Then
Range("T22").Select
ActiveCell.FormulaR1C1 = "=RC[-2]&"" ""&RC[-1]"
Hope you can help me
Thank you