storemannequin
Board Regular
- Joined
- May 29, 2010
- Messages
- 108
I've written this below code to and am getting an error on the last line, I think the syntax is wrong. I'm trying to delete columns H to the variable set to final column minus 6 columns.
Sub Macro2()
'
' Macro2 Macro
'
'
FC = Cells(1, Columns.Count).End(xlToLeft).Column - 6
Rows("1:8").Delete Shift:=xlUp
Columns("F:F").Delete Shift:=xlToLeft
Columns("H:H" & ":" & FC).Delete Shift:=xlToLeft
End Sub