Excel How to code in excel vba 2007 using absolute refernce for cells

Joined
Jul 19, 2016
Messages
1
Reaction score
0
I want to use absolute reference for coding in my excel vba for example:
ActiveCell.FormulaR1C1 = _
"=SLOPE('Second Reaction Data'!I4:I61,'Second Reaction Data'!D461)"
I want it this way but it is not working.
:D
It works if it is typed as follows:
ActiveCell.FormulaR1C1 = _
"=SLOPE('Second Reaction Data'!R[-124]C[7]:R[-67]C[7],'Second Reaction Data'!R[-124]C[2]:R[-67]C[2])"

Can someone help how to run this formula using absolute cell referencing ex: A1:A4 instead of RC
 
Hi srinlvashydmu, Welcome to PCR, I am afraid I do not have not the answer to your question but I am sure someone else will point you in the right direction. Once again welcome to our site and please participate and nice to have you aboard.:thumb:
 
Back
Top