copy filter data

tpkelley_no

Board Regular
Joined
Oct 14, 2011
Messages
183
Office Version
  1. 2010
Platform
  1. Windows
I have a excel work book that has a work sheet called "all". they also have other named work sheet in the workbook. The other work sheet have the names in column "D". I placed a filter on row 1. I am filtering column "D". After I filter the work sheet "all" column "D" I need a VBA code that will look at the names in column "D" and search for the correct work sheet and copy the row starting with row 2. I will be adding data to the "all" work sheet and I do not want the same data copied twice.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

GAdamWTW

New Member
Joined
Dec 22, 2016
Messages
15
Recording 1 time of you filtering the data, ctrl+A, copy, move to the sheet ctrl+A(or select the first row with data and ctrl+shift+End), paste would do it.
You'd record once and don't need anything special and selecting everything before pasting will prevent duplicates regardless of there being fewer or more rows than before.
 
Upvote 0

Forum statistics

Threads
1,191,501
Messages
5,986,923
Members
440,067
Latest member
Swatts1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top