Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default file folder macro's


Can anyone help? Ive got files within a file folder. Im trying to
create a macro that will let me open the file folder and then I can
select a file within the folder to open by myself. At the moment I can
create a macro to open a particular file within the file folder. Can
anyone help?


--
tweacle
------------------------------------------------------------------------
tweacle's Profile: http://www.excelforum.com/member.php...o&userid=25829
View this thread: http://www.excelforum.com/showthread...hreadid=392197

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default file folder macro's

chdrive "C"
Chdir "C:\Myfolder"
fname = Application.GetOpenFileName()
msgbox "File to open is " & fName
--
Regards,
Tom Ogilvy

"tweacle" wrote in
message ...

Can anyone help? Ive got files within a file folder. Im trying to
create a macro that will let me open the file folder and then I can
select a file within the folder to open by myself. At the moment I can
create a macro to open a particular file within the file folder. Can
anyone help?


--
tweacle
------------------------------------------------------------------------
tweacle's Profile:

http://www.excelforum.com/member.php...o&userid=25829
View this thread: http://www.excelforum.com/showthread...hreadid=392197



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
Hide Macro's in Toolbar / Macro's list sparx Excel Discussion (Misc queries) 2 May 6th 06 08:53 PM
Need code to save file to new folder, erase from old folder Ron M. Excel Discussion (Misc queries) 1 February 24th 06 06:02 PM
file folder macro's shrek Links and Linking in Excel 3 September 16th 05 10:17 PM
open file from folder save in new folder tim64[_3_] Excel Programming 20 June 17th 05 07:58 PM
Create Folder and Text File in folder Todd Huttentsine Excel Programming 2 April 29th 04 03:41 PM


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