LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default save file by DDE

Hi,
could someone suggest me how can I save the graph
called by the second row of the code below, in a specific directory
(ex.: C:\Graphs) ?
I've used "SAVE" command but unfortunately it gives me a window for a
directory
which isn't the one I want.
I've tried to use "SAVE.AS" command in different ways but I've always
failed...

Any help very appreciated
---------------------------------------------------------------------------**--------------------------------



BLP = DDEInitiate("winblp", "bbk")
Call DDEExecute(BLP, "<blp-1<cancel" & ActiveCell.Text &
"<IndexGPC<GO")
Call DDEExecute(BLP, "<blp-1<home<SAVE<GO")


'Call DDEExecute(BLP, "<SAVE.AS")


Call DDETerminate(BLP)

 
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
when i save xls file, debug script is running and canno't save fil Imtiaz Excel Discussion (Misc queries) 1 July 16th 05 03:47 PM
Excell2003 (SP-1) File > Save and File > Save As.. grayed out Joe Murphy Excel Discussion (Misc queries) 0 March 9th 05 10:00 PM
Save Excel file - prompts to save - no Volitile functions used POWER CERTS Excel Worksheet Functions 2 November 1st 04 09:27 PM
Excel marcos firing on file save as but not file save Andy Excel Programming 1 August 3rd 04 10:34 AM
Save File to Another Directory, but not change Users File Save location Mike Knight Excel Programming 1 May 28th 04 09:06 PM


All times are GMT +1. The time now is 07:27 PM.

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"