+ Reply to Thread
Results 1 to 3 of 3

Set autofilter print area with code?

  1. #1
    Registered User
    Join Date
    12-13-2006
    Location
    New Middletown, IN
    Posts
    2

    Set autofilter print area with code?

    I have code that filters a sheet of data based on a criteria that changes daily. On a form I have a button that prints the results of the filter. I presently am just setting a print area big enough to capture the results, but I would like the print area to be selected based on the results of the filter, or should I say the size of the remaining range.
    I need code to set the print area of the range remaining after the filter is applied. I know it's a first row last row selection. Please help.
    Roughleg
    Last edited by Roughleg; 12-14-2006 at 11:43 AM.

  2. #2
    Forum Contributor
    Join Date
    11-29-2003
    Posts
    1,203
    Assume that D3 is the cell with the autofilter arrow:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-13-2006
    Location
    New Middletown, IN
    Posts
    2
    I'll give that a try tomorrow. Thanks, for the response.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1