Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Hope someone can help me with the following task What I would like to accomplish is: To have a loop that searchs a current worksheet for specific critieri in Columns which have been set up specifically for filtering rows. Then copies that entire row to a new worksheet. Sets up page breaks froma defined row count. Adds headings and Titles The pseudo code goes something like this: Create Worksheet set pagerowcount =0 Page Setup adjust to 60% normal size While not last row in worksheet do If Page1 of worksheet Copy currentWorksheet Title Copy currentworksheet column headings pagerowcount =3 end if If New Page Copy currentworksheetsheet column headings Row End if while row count < 72 If Row equals (filter criteria )// e.g Column J ="p" Copy row to new worksheet End if Increment Row count If End I -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Richmont
This is a start http://www.rondebruin.nl/copy5.htm Post back with specific questions -- Regards Ron de Bruin http://www.rondebruin.nl "Richmont " wrote in message ... Hi Hope someone can help me with the following task What I would like to accomplish is: To have a loop that searchs a current worksheet for specific critieria in Columns which have been set up specifically for filtering rows. Then copies that entire row to a new worksheet. Sets up page breaks froma defined row count. Adds headings and Titles The pseudo code goes something like this: Create Worksheet set pagerowcount =0 Page Setup adjust to 60% normal size While not last row in worksheet do If Page1 of worksheet Copy currentWorksheet Title Copy currentworksheet column headings pagerowcount =3 end if If New Page Copy currentworksheetsheet column headings Row End if while row count < 72 If Row equals (filter criteria )// e.g Column J ="p" Copy row to new worksheet End if Increment Row count If End If --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy to filtered blank rows from another spreadsheet | Excel Discussion (Misc queries) | |||
Copy/paste data across filtered rows | Excel Worksheet Functions | |||
Copy and Paste Format in filtered rows | Excel Discussion (Misc queries) | |||
print or copy filtered rows | Excel Discussion (Misc queries) | |||
How do I copy filtered rows in excel | Excel Discussion (Misc queries) |