Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Selecting filename in cell from file browser

I have an Excel spreadsheet that a user needs to fill out with meta
data and also attach a hard drive link to a document. Is there a way
in Excel to pull up a file explorer window to pick files from their or
network drives, select the filename, and place that in the cell?

Secondly, is there a way to physically copy that file to the same
location as the spreadsheet when they do this?

Thanks for the help in advance.

JR
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Selecting filename in cell from file browser

John,

Check out the GetOpenFileName method.

Filename = Application.GetOpenFilename

For copying the file, check out the CopyFile method.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"John" wrote in message
om...
I have an Excel spreadsheet that a user needs to fill out with meta
data and also attach a hard drive link to a document. Is there a way
in Excel to pull up a file explorer window to pick files from their or
network drives, select the filename, and place that in the cell?

Secondly, is there a way to physically copy that file to the same
location as the spreadsheet when they do this?

Thanks for the help in advance.

JR



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
Selecting filename in Visual Basic Bruce Htown Excel Discussion (Misc queries) 3 March 19th 08 12:02 AM
Saving file using value in cell as the filename BCassedy Excel Worksheet Functions 3 July 7th 07 12:43 AM
Save file, refer filename to cell and change directory Metin[_3_] Excel Programming 3 April 23rd 04 02:13 AM
file browser when a cell in selected dreamer[_7_] Excel Programming 10 February 4th 04 10:49 AM
Save excel file with filename = cell text TroyB[_2_] Excel Programming 1 November 26th 03 01:00 AM


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