Thread: FormulaR1C1
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Aksel Børve Aksel Børve is offline
external usenet poster
 
Posts: 21
Default FormulaR1C1

Is it possible to mix relative ranges with other ranges?
Thanks

Sub DrillPipe1()
With Range("RngVrtDp1")
If ("RngVrtDp1") ("I3") Then
..FormulaR1C1 = "=(RC[-1])*(L9*0,01)"
Else
..FormulaR1C1 = "=(RC[-1])"
End If
End With
End Sub