Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 339
Default Adding custom file formats to Excel?


"Gustaf Liljegren" wrote in message
...
Hi,

In a custom application of Excel 2003, I wish to use a special file
format. It's based on XML, but too complicated for Excel's native XML
support. The idea is to open files of this kind in Excel, make use of
Excel's nice editing capabilities, and then save back into the same

format.

The ideal would be to add this file format to the others in the Open and
Save As dialogs, but I'm not sure if this is possible. Next best would
be to add two special menu items for import and export on the File menu,
or on a custom menu.

In short, my question is: can I add my file format to the others in the
Open and Save As dialogs?

Gus


Let's see if I understand this. Ypu want to create a file with a different
fileformat like myfile.glg and then you want Excel to call your own code
whenver a user opens such a file? Short answer is No. The only way, as I see
it, is that you create a com addin and add your own special file menu which
can only open glg files You will have yo pen the file in your code, parse it
and then populate the sheet with values.

/Fredrik


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
Custom Number Formats for Excel 2007 Brian O Excel Discussion (Misc queries) 1 April 13th 10 11:14 PM
Custom Number formats adding months after numerals Smudge Excel Discussion (Misc queries) 2 September 4th 07 05:00 PM
Adding custom list and text boxes to the custom tool bar from Excel C API Mousam Excel Discussion (Misc queries) 0 August 7th 07 09:19 AM
New custom % formats are only in XL file they are set up in. WHY? Tampa Bay Excel Worksheet Functions 1 October 14th 05 10:26 PM
Adding and Removing Custom Menu Items for one file... Jon Kane Excel Programming 2 September 17th 03 07:23 PM


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