ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Advanced Filter Macro (https://www.excelbanter.com/excel-discussion-misc-queries/182481-advanced-filter-macro.html)

Alex.W

Advanced Filter Macro
 
Spreadsheet "Register" has columns A to Q of data. I want to move all data in
rows where there is an entry in the corresponding cell in column "P".

I want to move the data to Spreadsheet "Closed". Both spreadsheets are set
up identically for columns and headings.

Rather than paste over existing data in "Closed", I want it to be pasted
from the next vacant row down.

Dave Peterson

Advanced Filter Macro
 
Why not record a macro when you use Data|Filter|Autofilter.

You can filter to show the nonblanks, then copy the visible rows (avoiding the
header) and past under the last used row.

Alex.W wrote:

Spreadsheet "Register" has columns A to Q of data. I want to move all data in
rows where there is an entry in the corresponding cell in column "P".

I want to move the data to Spreadsheet "Closed". Both spreadsheets are set
up identically for columns and headings.

Rather than paste over existing data in "Closed", I want it to be pasted
from the next vacant row down.


--

Dave Peterson


All times are GMT +1. The time now is 08:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com