Hi,
I am trying to create a macro that will select data cut it and paste it one cell up and one cell to the right.
To select the data i am using a filter, i do not know if there is a better way please help
here is what i have so far
The offset gives me the error compile error argument not optional
Thanks in advance.
Juan
I am trying to create a macro that will select data cut it and paste it one cell up and one cell to the right.
To select the data i am using a filter, i do not know if there is a better way please help
here is what i have so far
ActiveSheet.Range("$A$2:$W$200").AutoFilter Field:=7, Criteria1:="Total:" Range("G2:G300").Select
Selection.SpecialCells(xlCellTypeVisible).Select
ActiveSheet.Range("$A$2:$W$200").AutoFilter Field:=7
Selection.Cut Destination:=Range.Offset(-1, 1)
The offset gives me the error compile error argument not optional
Thanks in advance.
Juan