XML vs. txt vs. XLS and others

jfklbj

Board Regular
Joined
Feb 9, 2009
Messages
68
I have written a program that is used in auditing accounts. Currently, I use an addin and save the account data as .xls workbooks. Each workbook takes up about over 1 MB and there are hundreds. I am considering saving the data in prepared and completed audits in either txt or xlm format and just using the program as a template. Does one format have an advantage over another and are there other alternatives worth considering? TIA
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi jfklbj,

Since plain text contains no formatting information, it's both the most compact and most widely supported format. XML may be useful for producing formatted reports without recourse to your Excel wb.

Properly set up, you could save the relevant input data only in csv (text) format. This would require minimal storage space and your Excel wb could readily open and process the data for report generation. If you need permanent copies of the reports, you might consider storing them in PDF format. A PDF generally requires less storage space than Excel wb - largely because it doesn't have to store either the input data or the formulae used to turn that data into a report.

Finally, storage these days is quite cheap, so you might consider archiving the finalised Excel wbs onto CD/DVD media, or a removable HDD. You can compress the files beforehand to save even more space (though Office 2007 fiels are already stored in zip-compressed archives, so you won't gain much by compressing them again).

Cheers
 
Upvote 0
Thanks. I think you're right. I'm going with txt. Also, I have Excel 2003 at work, but 2002 at home. If I use XML at work, unless I upgrade my home computer, I am SOL.
 
Upvote 0

Forum statistics

Threads
1,225,399
Messages
6,184,747
Members
453,254
Latest member
topeb

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top