LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default inputbox vs. userform/combobox vs. Windows file handlers ???

Hi All:

I need to prompt the user for the name of a secondary workbook, and then
given that "other" filename, use it to replace a "place-holder" filename
in some formulas.

I can do all the search/replace in VBA, and if need by I can use an
INPUTBOX to have the user enter the secondary filename (meaning either
they type it in or copy it from the clipboard).

What would be nice (since filenames are looooong), however, is if I
could present the user w/ some dialboge box that displays all possible
XLS files (having drilled down to some directory, etc.) and then have
the user simply highlight the desired file and presss OK (or something
like that), thus capturing the filename as a VBA variable.

Can that be done easily, or will I have to use standard Window file
diaglogue boxes, etc. and would that mean that the secondary file simply
gets opened vs. capturing its filename as a VBA variable?

Hope the above is clear,

Any help/advice would be much obliged.

Regards



 
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
Value From ComboBox On UserForm jlclyde Excel Discussion (Misc queries) 3 October 16th 09 01:43 PM
ComboBox on UserForm Michel[_4_] Excel Programming 3 August 1st 04 11:10 PM
ComboBox on UserForm Michel[_4_] Excel Programming 2 July 31st 04 10:11 PM
Switching from InputBox to UserForm? Sean Stuber Excel Programming 4 April 19th 04 03:35 PM
Inputbox or UserForm Stein Kristiansen Excel Programming 1 November 24th 03 06:30 PM


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