JumboCactuar
Well-known Member
- Joined
- Nov 16, 2016
- Messages
- 788
- Office Version
- 365
- Platform
- Windows
Hi,
I have a report which is generated with VBA referencing data from another sheet with formulas then turned into values
Example
Which works fine but the problem is if I ever need to modify formulas due to new columns inserted etc... It's a pain having to modify the VBA everytime
Is there a better way? Like readable VBA instead of R1C1 notation would help
Thanks
I have a report which is generated with VBA referencing data from another sheet with formulas then turned into values
Example
Code:
Range("D2:D1000").FormulaR1C1 = "=R[-1]C[-1]*10"
Range("D2:D1000").value = Range("D2:D1000").value
Which works fine but the problem is if I ever need to modify formulas due to new columns inserted etc... It's a pain having to modify the VBA everytime
Is there a better way? Like readable VBA instead of R1C1 notation would help
Thanks