+ Reply to Thread
Results 1 to 6 of 6

Print Dialogue Box

  1. #1
    Registered User
    Join Date
    03-25-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Print Dialogue Box

    Hi, I came accross this really useful little routine to select specific sheets to print. The advantage for me of this routine is that each sheet is sent as its own print job abd not as a batch in a single job, therefore my page settings are maintained. The only thing I am struggling to so is add a select all check box, so that i can select all visible sheets and de-select the odd one or two. Can you have a look at the code and let me know if this can be acheived.

    Many thanks in advance.

    Code is:-

    Please Login or Register  to view this content.
    Last edited by Macca_GB; 05-21-2014 at 08:38 AM. Reason: Added code tags

  2. #2
    Registered User
    Join Date
    03-25-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Print Dialogue Box

    Hi, apologies for the duplication but I could not see my original post listed so thought it hadn't been submitted. As I now have a infraction point does that mean my query will wait?

    Thanks

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Print Dialogue Box

    Rather than using the somewhat antiquated dialogsheets, I would suggest you use a userform with a multiselect listbox on it. That way all your controls can be added and coded at design time and all that happens at run-time is to populate the list with the sheet names.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Registered User
    Join Date
    03-25-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Print Dialogue Box

    Thanks, no clue how to do that, so will research.

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Print Dialogue Box

    Here's a simple example. The listbox has had its MultiSelect property set.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-25-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Print Dialogue Box

    Rory, worked a treat and taught me loads abour user forms, thanks very much, appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Open Print Dialogue box
    By peely-peel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2008, 07:25 PM
  2. [SOLVED] code for print dialogue
    By BorisS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2006, 07:25 AM
  3. Suppressing print dialogue box
    By sgrech in forum Excel General
    Replies: 0
    Last Post: 09-24-2005, 07:14 AM
  4. Closing the Print Dialogue box
    By vvaidya@pol.net in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2005, 05:05 PM
  5. [SOLVED] how can I add a print dialogue?
    By Rob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2005, 07:06 PM

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