ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   File association to Excel spreadsheet (https://www.excelbanter.com/excel-programming/291934-file-association-excel-spreadsheet.html)

rci

File association to Excel spreadsheet
 

Hi all,

I would like to do something a bit tricky with Excel 2002.

I would like to associate a file extension in such a way as to launch
a specific excel spreadsheet for parsing (via its macros).

For example:

Myfile.txt --- launches ---- ExcelTextParser.xls (and launching excel in
the process)

Related:
Can arguments be passed to excel on startup?


All the best,

Mike

Tom Ogilvy

File association to Excel spreadsheet
 
excel.exe exceltextparser.xls

should do that.

--
Regards,
Tom Ogilvy

"rci" wrote in message
...

Hi all,

I would like to do something a bit tricky with Excel 2002.

I would like to associate a file extension in such a way as to launch
a specific excel spreadsheet for parsing (via its macros).

For example:

Myfile.txt --- launches ---- ExcelTextParser.xls (and launching excel in
the process)

Related:
Can arguments be passed to excel on startup?


All the best,

Mike





All times are GMT +1. The time now is 11:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com