ExcelDennis
New Member
- Joined
- Aug 12, 2013
- Messages
- 25
Hi All,
Using 3 lines of code below i run into error 1004 autofilter method of range class failed on the last line.
Range("C12:P12").Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.AutoFill Destination:=Range("C12:P12"), Type:=xlFillWeekdays
Could someone please help me to make these 3 lines of code work.
Many thanks in advance
Regards, Dennis
Using 3 lines of code below i run into error 1004 autofilter method of range class failed on the last line.
Range("C12:P12").Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.AutoFill Destination:=Range("C12:P12"), Type:=xlFillWeekdays
Could someone please help me to make these 3 lines of code work.
Many thanks in advance
Regards, Dennis