+ Reply to Thread
Results 1 to 6 of 6

Setting up a print menu option button

  1. #1
    Registered User
    Join Date
    06-12-2007
    Posts
    10

    Setting up a print menu option button

    New to VBA so this may be a bit of a complex question

    I have a workbook with many workseets (about 27) that users may want to print the full report (all worksheets) or just selected worksheets.

    Can anyone suggest a user friendly way of doing this other than selecting/grouping the sheets then print active sheets.

    Ideally it would be cool to create a "Print" command button that created a list of all worksheets with an option button (like on the control toolbar) where the text for the each button was the name of a worksheet. The user would click on the ones to be printed, or a "print all" button. The 27 worksheets keep the same name, but some additional worksheets may be added from time to time, so the list need to be dynamic.

    Any suggestions would be appreciated.
    Last edited by cycle_simon; 06-28-2007 at 05:26 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    This is a userform that allows you to select which sheets to print or preview. It is part of my Worksheet Manager addin
    Attached Files Attached Files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-13-2003
    Location
    California
    MS-Off Ver
    2013
    Posts
    37
    That Is Awesome!!!!!


    Ok, I'm trying to play with this and I'm having problems figuring out if there is a way to exclude (or include depending how you look at it) certain worksheets? Reason being, I have a lot of worksheets but the general user is only aware of a few of them so those are the only ones I'd like to show up in your form. I have the user viewable worksheets all color coded the same color as well so I'm not sure if that could be used as the 'if' condition in the code??

    Any help on this would be greatly appreciated!
    Last edited by bimmerman; 07-05-2007 at 05:55 PM.

  4. #4
    Registered User
    Join Date
    11-13-2003
    Location
    California
    MS-Off Ver
    2013
    Posts
    37
    Does anyone have some ideas about this?

  5. #5
    Forum Contributor
    Join Date
    12-12-2006
    Location
    New Zealand
    Posts
    151

  6. #6
    Registered User
    Join Date
    06-22-2007
    Posts
    7
    How about printing a textbox that is on a form? It is a scrolling text area so just printing the form is not enough...

+ 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