Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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


--
richardderrick
------------------------------------------------------------------------
richardderrick's Profile: http://www.excelforum.com/member.php...o&userid=34930
View this thread: http://www.excelforum.com/showthread...hreadid=546646

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Macro - PDF Issue Goaliemenace Excel Worksheet Functions 1 December 9th 09 06:24 PM
Marco issue KA Excel Discussion (Misc queries) 3 October 19th 07 07:50 PM
Print issue - inconsistent print greyhound girl Setting up and Configuration of Excel 1 January 18th 07 02:30 PM
Print issue greyhound girl Excel Discussion (Misc queries) 2 January 18th 07 02:04 PM
Combox/Print issue Michael Tearse Excel Programming 1 March 1st 04 02:21 PM


All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"