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: 1
Default Selecting a file path in Excel VBA using FileOpen dialog

I am trying to incorporate a facility in my application to select a
file path to enable the user to archive files to. Currently I have
been using the application.getopenfilename this works fine if there is
a file in the directory already as I can extract the path from that.
However if you create a new directory, with no file in, the open file
button greys out. Ideally I want to do it via a browse button to allow
the user to select the path. Is there a better way to do this? Can you
use the Windows openfile dialog instead of the Excel VBA one?
Many thanks in advance for any help.
John
 
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
Save file dialog box in Excel falcios Excel Discussion (Misc queries) 4 February 12th 07 08:29 PM
Formula too long - new file path is shorter than old file path - Excel 2003 Greg J Excel Worksheet Functions 1 November 22nd 06 05:16 PM
Can't find AutoRecover file in path specified in Options dialog. Paul Ponzelli Excel Discussion (Misc queries) 4 November 17th 05 09:33 PM
Excel updating from XML file - file path specific? Sean Excel Discussion (Misc queries) 4 August 5th 05 12:56 PM
Getting the full path when from a File Open Dialog Box Ric Payne Excel Programming 3 July 10th 03 04:58 PM


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