Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming,microsoft.public.excel.misc
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
"CELL("FILENAME") NOT UPDATE AFTER "SAVE AS" ACTION | Excel Discussion (Misc queries) | |||
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" | Excel Discussion (Misc queries) | |||
Can I Select an "Import" Template Based on a Doc's Filename? | Excel Discussion (Misc queries) | |||
Guides "Template" - in Danish "Guiden Skabelon" | Excel Programming | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming |