chrisk0420
New Member
- Joined
- May 5, 2011
- Messages
- 6
I recorded a simple macro that pastes a formula into a cell. When I run it, it pastes the correct formula but it returns a #value error. If I go into the formula bar and hit enter it then works fine.
Is this an issue with my settings or with the macro itself.
Here is the macro
Sub Macro1()
'
' Macro1 Macro
'
'
Range("M9").Select
ActiveCell.FormulaR1C1 = "=ROR(R[-7]C[-10]:R[-6]C[-10],2)"
Range("M10").Select
End Sub
Is this an issue with my settings or with the macro itself.
Here is the macro
Sub Macro1()
'
' Macro1 Macro
'
'
Range("M9").Select
ActiveCell.FormulaR1C1 = "=ROR(R[-7]C[-10]:R[-6]C[-10],2)"
Range("M10").Select
End Sub