Red over White
Board Regular
- Joined
- Jul 16, 2011
- Messages
- 132
- Office Version
- 365
- Platform
- MacOS
I'm getting 'Run time error 424' on the following:
Option Explicit
Sub Input2() '
Dim r As Integer
Dim RowVar As Variant
RowVar.Formula " =SUM(Input!A1)"
Sheets("Input2").Rows(RowVar(r + 6).RowVar(r + 6)).Select
Selection.Interior.Colour = vbRed
End Sub
Also will "r + 6" work
Option Explicit
Sub Input2() '
Dim r As Integer
Dim RowVar As Variant
RowVar.Formula " =SUM(Input!A1)"
Sheets("Input2").Rows(RowVar(r + 6).RowVar(r + 6)).Select
Selection.Interior.Colour = vbRed
End Sub
Also will "r + 6" work