Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Chip Smith
 
Posts: n/a
Default Browsing/opening a file with a macro

is there a way to use a macro to open a file. i know you can use the findfile
function. but what i am looking for is for when the macro runs it opens a
browse box that prompts the user to find their file to open. then it opens
the file. any suggestions?


--
--Chip Smith--
MVP Wannabe :)
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Browsing/opening a file with a macro

Take a look at application.getopenfilename in VBA's help

Chip Smith wrote:

is there a way to use a macro to open a file. i know you can use the findfile
function. but what i am looking for is for when the macro runs it opens a
browse box that prompts the user to find their file to open. then it opens
the file. any suggestions?

--
--Chip Smith--
MVP Wannabe :)


--

Dave Peterson
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
Weird File Open/Save As Behavior [email protected] Excel Discussion (Misc queries) 0 December 9th 05 02:26 AM
Macro Save File (Unique file name) SJC Excel Worksheet Functions 5 October 27th 05 10:09 PM
Links picking up values from an older version of linked file Cate Links and Linking in Excel 4 October 20th 05 01:53 PM
Problem Editing Macro in Shared Excel File [email protected] Excel Discussion (Misc queries) 0 March 19th 05 06:01 PM
open file (as variable) from macro d chaps Excel Discussion (Misc queries) 1 March 14th 05 11:57 PM


All times are GMT +1. The time now is 12:29 PM.

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"