Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browse for a file using excel 2003 1

Status
Not open for further replies.

Mikeb1970

Technical User
Nov 14, 2003
101
0
0
BE
Hi all,

I'm making an application that has to run on a network drive, which has been assigned the G: drive on my computer, but has other letters assigned to it when accessing it from other computers. What i would like to make is some sort of wizard where i can browse for the file , like in windows programms and then save that info into a file (like a cookie) on the C: drive where it can be found the next time i run the programm, thus making it faster to run. This is just the first part of the problem since i use the englisch version of excel 2003 and the other users use the dutch version , therefore i really need a way to determine on their computers where the needed files are.

Any thoughts are very helpfull

Thnx and with regards

Mike
 



Hi,

Use the SERVER path, rather than a DRIVE, like...
Code:
sConnect = "\\dfwsrv222\public\" & sFileName


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Looked for sconnect in the vba help files, but no results

also searching the internet did not provide any results

With regards

Mike
 



sConnect is a VARIABLE that I used as an example.

For instance...
Code:
workbooks.open sconnect


Skip,
[sub]
[glasses] [red][/red]
[tongue][/sub]
 
Lol,stupid me

I understand what you mean now, very usefull tip
thank allot, should solve my problem.

Mike :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top