+ Reply to Thread
Results 1 to 2 of 2

Chose two printers with vba

Hybrid View

  1. #1
    Matos
    Guest

    Chose two printers with vba

    I create an Worksheet Excel and y create three fuction bottoms:
    Two Bottoms choosing diferent printers, and a third bottom choose
    printing one page of an specific range.
    My problem is select beetween diferent printers, using vba codes....

    1 Bottom HP 2230
    1 Bottom HP 4L
    1 Bottom 1 Page printing

    Thanks.


  2. #2
    Tom Ogilvy
    Guest

    Re: Chose two printers with vba

    use the application.ActivePrinters

    s = Application.ActivePrinter
    msgbox s

    will show you the format you need.

    select each printer, then run the above code to see what the string is.

    then use that string to assign the printer to Application.ActivePrinter

    --
    Regards,
    Tom Ogilvy


    "Matos" <cmmatos@gmail.com> wrote in message
    news:1146844005.511294.289490@y43g2000cwc.googlegroups.com...
    > I create an Worksheet Excel and y create three fuction bottoms:
    > Two Bottoms choosing diferent printers, and a third bottom choose
    > printing one page of an specific range.
    > My problem is select beetween diferent printers, using vba codes....
    >
    > 1 Bottom HP 2230
    > 1 Bottom HP 4L
    > 1 Bottom 1 Page printing
    >
    > Thanks.
    >




+ 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