Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a standard process to save Excel File Formatting/Settings into an Object?

It could be cumbersome at times to maitain Excel Workbook's formatting/settings when heavy backend, front end work loads are done. At times (even frequently) workbooks were crashed. But I can't recall what the code or process was to avoid this happening due to the formatting. What I am clear is that before any data retrieval, processing took place in the workbook, I saved the Workbook's formatting/settings into an object. Once everything was completed, that object was called to restore. It was most probably one of the custom/user written classes.

That code was very handy when working with Workbooks to manage certain company standards/Logos/Colour Pallete/formatting/protection settings/code settings and so on.

So I just want to ask if anyone in the community have come across such process? I searched online and disappointing enough I am unable to find anything near - else I have really lost my wits on key-word search ;)

PS: This is not my home work or work. So please throw some light.

like image 363
bonCodigo Avatar asked Jan 11 '13 23:01

bonCodigo


People also ask

How do I save an Excel file without losing formatting?

To save Excel formatting you should use an Excel file type. Use File, > > Save As, and change the "Save as type" to Excel Workbook. > >news:SEDro.

In what other formats can an Excel workbook be saved?

Other file formats You can save Excel 2010 files so they can be opened in spreadsheet applications that use the OpenDocument Spreadsheet format, such as Google Docs and OpenOffice.org Calc. You can also open spreadsheets in the . ods format in Excel 2010. Formatting might be lost when saving and opening .

Why does Excel not save my formatting?

First, the major reason Excel is not saving formatting is because of restricted file permission. When you save your Excel file, it is necessary to give the folder access permission. Otherwise, no one can access your Excel file. Excel files can be restricted from being modified.


1 Answers

If you are talking about creating spreadsheets that conform to your branding standards, why don't you just create a template file:

http://office.microsoft.com/en-us/excel-help/save-a-workbook-or-worksheet-as-a-template-HA010218874.aspx

like image 151
Neil Mussett Avatar answered Sep 25 '22 14:09

Neil Mussett