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: 3
Default Opening a directory using code

Using the following I can open a window showing the files in that directory;

Application.Dialogs(xlDialogOpen).Show "\\Rfp_main\rfp2005\templates"

However if someone tries to load a file ... say Word.. in that directory,
excel tries to import it into the open workbook. How can I rempve the focus
back to the workbook and close it, thus leaving only the open window on the
desktop with excel now closed down ?

Thanks
--
Robert Pollock
 
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
Opening all files located in a specific directory DaSo Excel Programming 2 January 25th 05 08:05 AM
opening directory from excel Pradyumna. Excel Programming 1 June 16th 04 01:27 PM
opening directory from excel Pradyumna Excel Programming 1 June 16th 04 12:01 PM
opening directory from excel Pradyumna Excel Programming 0 June 16th 04 11:57 AM
opening a workbook in the current directory Richard[_16_] Excel Programming 2 August 30th 03 02:46 AM


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