+ Reply to Thread
Results 1 to 2 of 2

Choosing printer in a printing macro

  1. #1
    Registered User
    Join Date
    06-14-2005
    Posts
    41

    Question Choosing printer in a printing macro

    Hi,

    In a printing macro, is it possible to implement an menu option to choose the
    printer (I have many printers)? If yes, any ideas how?

    I quoted my macro.

    Thx!

    Werner


    Sub PrintRows()

    Dim lstRw As Long
    Dim lstRwPlusTwo As Long
    Dim Times As String

    'Je détermine le nombre d'unités locatives à traiter.
    Let lstRw = Sheets("Formulaire").Range("a65536").End(xlUp).Row
    lstRwPlusTwo = lstRw + 2


    Rows(1 & ":" & lstRwPlusTwo).Select

    Times = InputBox("Entrez le nombre de copie à imprimer: ", "Copies to Print",
    1)

    Selection.PrintOut Copies:=Times, Collate:=True


    End Sub

  2. #2
    Registered User
    Join Date
    06-14-2005
    Posts
    41
    Someone gave me the answer :

    Please Login or Register  to view this content.

+ 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