DonAndress
Active Member
- Joined
- Sep 25, 2011
- Messages
- 365
- Office Version
- 365
- 2021
- Platform
- Windows
Hello.
I am having a really hard time understanding absolute and relative ways of addressing cells.
Could you please help me undestand it or at least change the address below, as I have no idea how they work?
In my project I need absolute addresses.
Of course I'm refering to "val" calculations so is there any possibility to change addresses to any understadable format?
I am having a really hard time understanding absolute and relative ways of addressing cells.
Could you please help me undestand it or at least change the address below, as I have no idea how they work?
In my project I need absolute addresses.
Code:
Sheets("sheet2").Select
Range("A1").Select
val = "=sheet2!R[38]C[-7]-sheet2!R[50]C[-7]"
Sheets("sheet1").Select
Range("J3").Select
Selection.Value = val
Selection.NumberFormat = "_(* #,##0.00_);_(* (#,##0.00);_(* ""-""??_);_(@_)"
Application.CutCopyMode = False