#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Getopenfile

Right now i have it so the user can browser for the folder they want then
select a file. I want to change this to going to

Q:\FTP\as400\exports\production\

then select the folder and file.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200712/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Getopenfile

Use ChDrive and ChDir to change the current drive and folder. Then show the
file open dialog.

--
Jim
"jln via OfficeKB.com" <u25956@uwe wrote in message
news:7d2b6b658db9f@uwe...
Right now i have it so the user can browser for the folder they want then
select a file. I want to change this to going to

Q:\FTP\as400\exports\production\

then select the folder and file.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200712/1



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Getopenfile

IUS this what you mean?


ChDir ("Q:\FTP\as400\exports\production\inv" & _
Inv & "\")
myFileName = Application. _
GetOpenFilename(filefilter:="csv Files, *.CSV", _
Title:="Pick a File (Select your MAR")

Jim Rech wrote:
Use ChDrive and ChDir to change the current drive and folder. Then show the
file open dialog.

Right now i have it so the user can browser for the folder they want then
select a file. I want to change this to going to

Q:\FTP\as400\exports\production\

then select the folder and file.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200712/1

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Getopenfile

You have to use ChDrive to (unless you're certain Q: is already active).

--
Jim
"jln via OfficeKB.com" <u25956@uwe wrote in message
news:7d2cb7a90e2a6@uwe...
IUS this what you mean?


ChDir ("Q:\FTP\as400\exports\production\inv" & _
Inv & "\")
myFileName = Application. _
GetOpenFilename(filefilter:="csv Files, *.CSV", _
Title:="Pick a File (Select your MAR")

Jim Rech wrote:
Use ChDrive and ChDir to change the current drive and folder. Then show
the
file open dialog.

Right now i have it so the user can browser for the folder they want
then
select a file. I want to change this to going to

Q:\FTP\as400\exports\production\

then select the folder and file.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200712/1



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
Where to put the sub-programm, GetOpenFile Mark van der Sluis Excel Programming 1 September 16th 04 12:27 PM


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