Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a filtered list that I print out each week and I want to automate the sorting and page setup I have to do each time. The filtering is simple: there is one field that filters out all non-blanks. I then sort the remaining entries in the list. I can code the sorting, but I am having trouble identifying the first and last item in the sort area through VB. I need to identify the range to sort by picking out the first unfiltered item and the last entered item which of course is different each time. I then want to setup the print area to print all pages with unfiltered items which is usually 1 page but can be two. But I want the print area to include all blank rows that will fit on the page. (e.g. if a full page is 25 rows I want to print out 25 rows no regardless of how many rows are filled.) Of course since the list is filtered, the print are has to reset each time. Can someone help me? thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Page layout - page setup - items disabled | Excel Discussion (Misc queries) | |||
Sorting and subtotal in a filtered list | Excel Discussion (Misc queries) | |||
HOW DO I SETUP A PAGE IN EXCEL TO GIVE TOTALS TO ANOTHER PAGE | Excel Worksheet Functions | |||
Under Page Setup the page option of Ledger - for Office XP | Excel Discussion (Misc queries) | |||
Sorting a Filtered List | Excel Programming |