I need to copy one worksheet paste to another and then clear the clipboard the code I have is
'
Sheets("Sort").Select
Selection.AutoFilter Field:=1, Criteria1:="D1"
Selection.Copy
Sheets("Copy").Select
Cells.Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("User").Select
End Sub
Although this code runs it just doesn't clear the clipboard
I have Microsoft Forms 2.0 Object Library in my references
'
Sheets("Sort").Select
Selection.AutoFilter Field:=1, Criteria1:="D1"
Selection.Copy
Sheets("Copy").Select
Cells.Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("User").Select
End Sub
Although this code runs it just doesn't clear the clipboard
I have Microsoft Forms 2.0 Object Library in my references