+ Reply to Thread
Results 1 to 3 of 3

Is it possible to add a option before print a sheet

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,078

    Post Is it possible to add a option before print a sheet

    hi,
    i am suing below code to print a sheet with yes or no button.

    Please Login or Register  to view this content.
    i want to add to select the automatically ready(online) printer before printing a page,
    for example
    i have three printers connected with my pc, sometime some printer does offline

    so i want to select automatically online printer before printing


    thank you
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: Is it possible to add a option before print a sheet

    why not check at the beginning which printer is online and send the print command to the online one?
    Teach me Excel VBA

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,122

    Re: Is it possible to add a option before print a sheet

    Hi HaroonSid

    Why not add code to check which printers are available?
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. VBA to print and print to pdf based on option boxes
    By lmpratt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2016, 11:11 PM
  2. Activate Print option with a userform where selected Sheet check box option available..
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2013, 08:19 AM
  3. [SOLVED] Print sheet as PDF after selecting each of the option in validation list
    By ron2k_1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2012, 11:18 AM
  4. Option to print - use print macro
    By Tortus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-30-2008, 03:23 PM
  5. Print Preview option
    By niharika in forum Excel General
    Replies: 1
    Last Post: 03-06-2008, 10:59 AM
  6. [SOLVED] 11 x 17 is not a print option for me
    By templewolf in forum Excel General
    Replies: 2
    Last Post: 03-30-2006, 04:25 PM
  7. [SOLVED] Why is the Print Titles option in Page Setup:Sheet greyed out?
    By timz in forum Excel General
    Replies: 2
    Last Post: 09-06-2005, 10:05 AM

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