Hello All,
I am working with a spreadsheet that can have up to 60,000 lines. Every 10th line in Column "A" I need the term "Item". I have recorded a macro that allows me to filter on the term "Order Type" and that gives me every 10th line one above the other. When I manually copy and Paste "item" then it works perfectly. However, if I run the below macro then it puts the term "Item" into EVERY line that has data in it.
How can I get this to work? I wrote a macro that looked for the term "order Type" and would input "Item" next to it, but that took a very LONG time to execute. The filter method takes just a few seconds. Any help is greatly apprecaited.
Selection.AutoFilter
ActiveSheet.Range("$A$1:$O$62560").AutoFilter Field:=1, Criteria1:="<>"
Range("A11:A62551").Select
Selection.ClearContents
Range("A1").Select
Selection.Copy
Range("A11:A62551").Select
ActiveSheet.Paste
ActiveSheet.Range("$A$1:$O$62560").AutoFilter Field:=1
Bookmarks