Consulting

Results 1 to 4 of 4

Thread: Solved: Print Dialog box

  1. #1
    VBAX Regular
    Joined
    Apr 2005
    Posts
    31
    Location

    Solved: Print Dialog box

    Hello everyone,

    Here is my macro

    Sheets(Array("10-31-06", "10-31-06-Report")).Select

    Sheets("10-31-06").Activate

    ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True

    Sheets("SUMMARY").Select

    Range("A6").Select

    It does what I want it to do except one minor thing.
    I would like the dialog print box to appear so that I may select how many copies I want.
    This way I don't have to keep pressing the macro button several times.

    Thank you.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,456
    Location
    [vba]

    application.Dialogs(xlDialogPrint).Show
    [/vba]

  3. #3
    VBAX Regular
    Joined
    Apr 2005
    Posts
    31
    Location
    Perfect!

    Thank you!

  4. #4
    Guys i need others dialog boxes.

    goto specific page (ctrl + i )
    search (ctrl + b )

    pleaseeeeee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •