Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default What DDE topic returns the currently open file?

I'd like to know that myself!

As a workaround I use "Selection" which returns something like

"[myBook.xls]!R1C1"

then I get the filename between the brackets

Regards,
Peter T

"The Chemist" <The wrote in message
...
I developed an application years ago that uses DDE to converse with Excel.

I
used to be able to send a DDE request using the topic "TOPICS", and it

would
return a string that contained the name of the spreadsheet file that was
currently open. Now, this command returns an error with Excel 2003. Any
ideas??



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default What DDE topic returns the currently open file?

Typo -

"[myBook.xls]!R1C1"


missed the sheet name -

"[myBook.xls]Sheet1!R1C1"

Peter T

"Peter T" <peter_t@discussions wrote in message
...
I'd like to know that myself!

As a workaround I use "Selection" which returns something like

"[myBook.xls]!R1C1"

then I get the filename between the brackets

Regards,
Peter T

"The Chemist" <The wrote in message
...
I developed an application years ago that uses DDE to converse with

Excel.
I
used to be able to send a DDE request using the topic "TOPICS", and it

would
return a string that contained the name of the spreadsheet file that was
currently open. Now, this command returns an error with Excel 2003.

Any
ideas??





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
Hyperlink to url returns error: cannot open the specified file browniebodrum Excel Discussion (Misc queries) 7 May 18th 23 11:45 AM
In Excel - Use Windows Explorer instead of File Open to open file KymY Excel Discussion (Misc queries) 1 August 5th 06 09:59 PM
Open a file do a macro ( made) and open next succesive file SVTman74 Excel Programming 5 April 21st 06 10:14 PM
Open File or Switch Between Windows if File is Open Ricky Pang Excel Programming 2 July 8th 05 05:51 AM
Open File or Switch Between Windows if File is Open Ricky Pang Excel Programming 0 July 2nd 05 08:41 PM


All times are GMT +1. The time now is 11:53 PM.

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"