LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Open Dialog Box to return Selected File Path and Not Open it.


fName = Application.GetOpenFileName

'get the path including the last slash
Mypath = left(fName,instrrev(fName,"\"))

'get the path not including the last slash
Mypath = left(fName,instrrev(fName,"\") - 1)


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=173380

Microsoft Office Help



 
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
Open File Dialog box looks like Steven Excel Discussion (Misc queries) 3 January 30th 10 07:44 PM
File open dialog box [email protected] Excel Discussion (Misc queries) 1 March 21st 07 03:01 AM
File open dialog Vaughan Excel Discussion (Misc queries) 0 May 12th 05 08:50 AM
File open with Path Name rickey24[_8_] Excel Programming 4 July 8th 04 01:04 AM
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 03:01 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"