LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Sorting and page setup in a filtered list

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page layout - page setup - items disabled Bill D - Hubbard & Co Excel Discussion (Misc queries) 6 February 2nd 10 04:34 PM
Sorting and subtotal in a filtered list Ken W Excel Discussion (Misc queries) 1 December 1st 09 08:02 PM
HOW DO I SETUP A PAGE IN EXCEL TO GIVE TOTALS TO ANOTHER PAGE Randy Excel Worksheet Functions 1 February 8th 07 06:15 PM
Under Page Setup the page option of Ledger - for Office XP Turbo Excel Discussion (Misc queries) 2 September 27th 06 02:46 AM
Sorting a Filtered List Alex J Excel Programming 3 February 19th 04 06:14 PM


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"