S
Sandy
Hi
Can anyone tell me why this works:-
Sheets("Sheet1").Select
Range("A10").Select
Range("A10:V300").AdvancedFilter Action:=xlFilterInPlace,
CriteriaRange:= _
Range("A1:X2"), Unique:=False
Range("A10:W300").Select
Selection.Copy
Sheets("Search").Select
Range("H7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Application.CutCopyMode = False
and this doesn't:-
Sheets("Sheet1").Range("A10:V300").AdvancedFilter
Action:=xlFilterInPlace, CriteriaRange:= _
Range("A1:X2"), Unique:=False
Range("A10:W30000").Copy
Sheets("Search").Range("H7").PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Sandy
Can anyone tell me why this works:-
Sheets("Sheet1").Select
Range("A10").Select
Range("A10:V300").AdvancedFilter Action:=xlFilterInPlace,
CriteriaRange:= _
Range("A1:X2"), Unique:=False
Range("A10:W300").Select
Selection.Copy
Sheets("Search").Select
Range("H7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False
Sheets("Sheet1").Select
Application.CutCopyMode = False
and this doesn't:-
Sheets("Sheet1").Range("A10:V300").AdvancedFilter
Action:=xlFilterInPlace, CriteriaRange:= _
Range("A1:X2"), Unique:=False
Range("A10:W30000").Copy
Sheets("Search").Range("H7").PasteSpecial Paste:=xlPasteValues,
Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Sandy