Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Default folder when saving a "Cute" PDF file

I'm using the free CutePDF Writer and I would have thought that my
ChDir instruction would have changed the default location in the Save
As Dialog box. It doesn't!!! Moreover, the default folder appears to
be the last folder to which any file in my system has been saved.
This is the last step I need to complete the application and I'd
appreciate your help in specifying the appropriate default folder!!
TIA, Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Default folder when saving a "Cute" PDF file

It happens that DaveM formulated :
I'm using the free CutePDF Writer and I would have thought that my
ChDir instruction would have changed the default location in the Save
As Dialog box. It doesn't!!! Moreover, the default folder appears to
be the last folder to which any file in my system has been saved.
This is the last step I need to complete the application and I'd
appreciate your help in specifying the appropriate default folder!!
TIA, Dave


Dave,
AFAIK, CutePDF is a 3rd party print driver that does not ship with an
SDK component you can use with programming. IOW, it uses Windows' (API
CommonDialog) SaveAs dialog instead of Excel's and so using ChDir in
VBA has no effect on what/how CutePDF behaves in this regard.

In XL2007+ you can specify the path and folder you 'SaveAs', specifying
filetype as "PDF". You can't do this with CutePDF print driver.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Default folder when saving a "Cute" PDF file

On Oct 24, 4:55*am, GS wrote:
It happens that DaveM formulated :

I'm using the free CutePDF Writer and I would have thought that my
ChDir instruction would have changed the default location in the Save
As Dialog box. *It doesn't!!! *Moreover, the default folder appears to
be the last folder to which any file in my system has been saved.
This is the last step I need to complete the application and I'd
appreciate your help in specifying the appropriate default folder!!
TIA, Dave


Dave,
AFAIK, CutePDF is a 3rd party print driver that does not ship with an
SDK component you can use with programming. IOW, it uses Windows' (API
CommonDialog) SaveAs dialog instead of Excel's and so using ChDir in
VBA has no effect on what/how CutePDF behaves in this regard.

In XL2007+ you can specify the path and folder you 'SaveAs', specifying
filetype as "PDF". You can't do this with CutePDF print driver.

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Hi Garry,
Thanks for the response.
That was the answer I was expecting:-( Back to the drawing board
and I'll have to find another way around the problem.
Cheers
Dave
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
Can I change Excel 2003 default "save to" folder? Gene New Mexico Setting up and Configuration of Excel 1 May 9th 07 11:26 PM
Change default in input box from "20" to "000000"? Have macro continue on to name sheet tab? StargateFanFromWork[_4_] Excel Programming 7 October 29th 06 11:46 AM
Changing default "import" folder Rutgers_Excels Excel Discussion (Misc queries) 1 May 10th 06 05:40 PM
creating an XLS file from " files" data in a Folder Edwin Mashiringwani Excel Discussion (Misc queries) 2 November 19th 05 04:45 PM
Backup to specific folder if workbook names begins with "NSR" or "MAC" GregR Excel Programming 3 May 6th 05 12:24 AM


All times are GMT +1. The time now is 06:39 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"