Hello good Excel people!
I have a, I expect, simple question regarding using absolute cell addresses to change a given cell.
I have a piece of code as stated underneath, The output is an absolute cell address: [test.xlsm]Sheet1'!R3C3
Sub Cell_adresser()
Arow = 3
Acol = 3
Sheets(1).Cells(4, 2).Value = Worksheets(2).Cells(Arow, Acol).Address(ReferenceStyle:=xlR1C1, External:=True) 'Reads cell adress
Sheets(1).Cells(4, 3).Value = Worksheets(2).Cells(3, 3).Value
End Sub
I want to list a long array of cell values and their addresses and then change their value. How do I use this absolute cell address as the reference?
"For this cell address, do something"
Hope that makes sense, Thank You
GregersDK
Bookmarks