PC Review


Reply
Thread Tools Rate Thread

Creating a macro to print to file when printing to another printer

 
 
gregc@htsystemsinc.com
Guest
Posts: n/a
 
      12th Jul 2008
I have a program that prints to a default printer. I was hoping to
create a macro that would also print to file when that file is
printed.

Thanks ahead of time
 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      12th Jul 2008
Hi

Use this to print to file:

PrintFileName = "TestPrint"
ActiveWindow.SelectedSheets.PrintOut Copies:=1, PrintToFile:=True,
Collate _
:=True, prtofilename:=PrintFileName

Regards,
Per

<(E-Mail Removed)> skrev i meddelelsen
news:a6f2c41b-45ee-442d-9f91-(E-Mail Removed)...
>I have a program that prints to a default printer. I was hoping to
> create a macro that would also print to file when that file is
> printed.
>
> Thanks ahead of time


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a print-macro that'll only print page 1? Anders M Microsoft Excel Discussion 2 24th May 2011 09:26 AM
Creating a macro to print to file gregc@htsystemsinc.com Microsoft Excel Programming 1 12th Jul 2008 12:54 PM
Can not choose Printer when printing HTML Emails from File-Print M =?Utf-8?B?VmluY2U=?= Microsoft Outlook Discussion 2 24th Sep 2007 04:58 PM
Creating Print Macro =?Utf-8?B?Q29uZnVzZWQ=?= Microsoft Excel Misc 1 30th Apr 2007 12:53 PM
Help - After SP 4 on W2K - Print Jobs say "Printing" on HP 1000 printer, but never print. Must restart spooler to print. John Microsoft Windows 2000 Printing 2 11th Jan 2004 12:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:00 PM.