Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Navigating To Find A File

I want to add functionality to a user form which allows a user to navigate
through the folder structure and selects a file. I wish to invoke this
procedure on a button push.

A while a go, and this is where my memory dims, I am sure I had some form of
easy way of doing this, but for the life of me I cannot recall accurately.
I wish to see some for of windows Explorer-like interface appear. I seem to
recall either com API calls were involved or some custom functions.

Can anyone help my failing memory?

PWS


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Navigating To Find A File

Wishes granted for a limited time only. Now, if this were Access we'd have a lot more fun. But this is Excel, so it's pretty simple:

Private Sub CommandButton1_Click()
Dim strMyFileToOpen As String
Dim strMyFileToSave As String
strMyFileToOpen = Application.GetOpenFilename("Text Files (*.txt), *.txt")
strMyFileToOpen = Application.GetSaveAsFilename("Text Files (*.txt), *.txt")
End Sub



"Paul W Smith" wrote:

I want to add functionality to a user form which allows a user to navigate
through the folder structure and selects a file. I wish to invoke this
procedure on a button push.

A while a go, and this is where my memory dims, I am sure I had some form of
easy way of doing this, but for the life of me I cannot recall accurately.
I wish to see some for of windows Explorer-like interface appear. I seem to
recall either com API calls were involved or some custom functions.

Can anyone help my failing memory?

PWS



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Navigating To Find A File

Have a look at VB Editor/Search for GetOpenFileNam

--
Message posted from http://www.ExcelForum.com

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
Navigating ~ One Fine Old Dude Excel Worksheet Functions 0 June 6th 07 06:38 PM
Navigating ~ One Fine Old Dude Excel Worksheet Functions 0 June 6th 07 06:35 PM
navigating with the tab key Cynthia[_2_] New Users to Excel 1 April 17th 07 05:18 PM
CTRL Find is preventing me from navigating around my worksheet gillywilly55 Excel Discussion (Misc queries) 1 April 3rd 06 12:36 PM
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? nwtrader8 Excel Discussion (Misc queries) 5 June 21st 05 02:16 PM


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