+ Reply to Thread
Results 1 to 2 of 2

Marco print issue!!!

Hybrid View

  1. #1
    Registered User
    Join Date
    05-30-2006
    Posts
    1

    Marco print issue!!!

    i have created a marco to be able to print the sheet to a specified printer and i have attached the macro to a button, but when i print it creates another button and then keeps printing the sheet over and over again and i have to cancel all the prints and close excel. Any suggestions!!!

    the code:

    "
    ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
    "\\server\printer on Ne02:", Collate:=True

    "

    cheers

  2. #2
    Tom Ogilvy
    Guest

    RE: Marco print issue!!!

    There is nothing in the line of code you show that would do what you describe.

    Your problem must be elsewhere.

    --
    Regards,
    Tom Ogilvy


    "richardderrick" wrote:

    >
    > i have created a marco to be able to print the sheet to a specified
    > printer and i have attached the macro to a button, but when i print it
    > creates another button and then keeps printing the sheet over and over
    > again and i have to cancel all the prints and close excel. Any
    > suggestions!!!
    >
    > the code:
    >
    > "
    > ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
    > "\\server\printer on Ne02:", Collate:=True
    >
    > "
    >
    > cheers
    >
    >
    > --
    > richardderrick
    > ------------------------------------------------------------------------
    > richardderrick's Profile: http://www.excelforum.com/member.php...o&userid=34930
    > View this thread: http://www.excelforum.com/showthread...hreadid=546646
    >
    >


+ 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