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.misc
 
Posts: n/a
Default Can I Select an "Import" Template Based on a Doc's Filename?

Hello. I would like for our users to be able to:
1. Select a text file in Windows Explorer;
2. Right-click and open the file with Excel;
3. Then, BASED ON THE DOCUMENT'S FILENAME, Excel would know which
macro/template to automatically apply to the file in order to import it
with the proper formatting and alignment.

I already have a macro that will import and format the file... but I
have to start/run the macro from Excel and then browse out to select my
file. Our users would really prefer to be able to just doubleclick
the file in Windows Explorer and Excel know how to import it based on
its filename. Is this possible in Excel?????

I would be really grateful for any help with this. Thank you.

Jessi

 
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
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM
where can I find a excel based questionnaire template? magpie Excel Discussion (Misc queries) 0 June 28th 05 01:11 PM
how to create and use a new spreadsheet based on a template Shady Excel Discussion (Misc queries) 3 April 3rd 05 09:50 PM
Can I select a worksheet based upon a cell criteria?(for printing) Tim Richards Excel Worksheet Functions 0 March 30th 05 07:03 PM
Template in Excel prettytwin1 New Users to Excel 1 March 9th 05 09:22 PM


All times are GMT +1. The time now is 04:28 AM.

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"