LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default print pdf's with changing filenames in a macro

Very close. I looked up "printout" in the help file. It says:

PrintToFile Optional Variant. True to print to a file. Microsoft
Excel prompts the user to enter the name of the output file. There's
no way to specify the filename from Visual Basic. This option is not
available on the Macintosh.

I have a Mac with Office v.X

I never figured it made a difference or I'd have mentioned it before.
Any way to work around it?
Thanks a lot for all of your help.
Charlie



Tom Ogilvy wrote:
Your using xl97 or earlier? Because that argument is supported in xl2000
and later.

From xl2000 help on Printout
expression.PrintOut(From, To, Copies, Preview, ActivePrinter, PrintToFile,
Collate, PrToFileName)

--
Regards,
Tom Ogilvy




 
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
Macro to create PDF's question joeyarsenault19 Excel Discussion (Misc queries) 1 July 15th 06 03:10 PM
VBA Script to Print several named ranges to PDF with cell-defined filenames jbmessamore Excel Programming 0 July 14th 06 03:34 PM
Macro for changing print settings Bill Excel Discussion (Misc queries) 3 December 3rd 04 10:49 PM
Linked excel charts, changing filenames generates exception Paul DeMarco Excel Programming 1 July 28th 04 03:02 AM
Changing filenames using theSaveAsCopy method davidoo2005 Excel Programming 1 July 10th 04 08:13 AM


All times are GMT +1. The time now is 10:55 AM.

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

About Us

"It's about Microsoft Excel"