Hemant,

I was hoping someone would come up with an answer for you!

I have an application that stores the entire workbook as data in
Oracle tables.
the actual "document" is retrieved and re-assembled.
If changes are made, the Oracle database is updated.

Now, users sometimes want to make cells bold or change the color or
font
and I wanted to be able to store the formatting in the database.

I ended up creating an array and stored the characteristics.
then, I created a delimeted string like:
textstring|justification|bold|fontcnt|font1|length1|font2|length2|
then stored the string.
when I retrieved the record, I used split() to re-create the format
array.

It would be nice to be able to save the range object as an array,
but I haven't found a way to do that.

Sorry.

Paul

On Nov 10, 1:03 am, RolfJ <r...@pacificsound.us> wrote:
> Please explain why you don't save the worksheet resulting from your
> calculations in the intrinsic Excel format (i.e. as an Excel
> workbook).
>
> On Nov 8, 12:20 pm, Hemant Hegde <hemantbales...@gmail.com> wrote:
>
>
>
> > Hi
>
> > After a lot of coding and lengthy calculations (takes up to 2 minutes) I get
> > a sheet (actually a report) with lot of numbers and different cell
> > formatting.
>
> > Now I need to store the cell values together with cell formatting in a
> > binary file to avoid repeated lengthy calculations.
>
> > The only option I able to think is to store all the formatting values one
> > after another in the binary file eg. For cell's background colour, I will
> > have to store the value of cells(1,1).interior.colorindex as a number and
> > write it to the binary file. While opening the binary file, it has to read
> > it and apply it back to the cell.
>
> > Any better Idea?
>
> > Im sorry if I failed to explain correctly what i want to do!
> > Can I get all the formatting of a cell as a single number or a string by any
> > means?
>
> > Professional programmers help me please
>
> > --
> > Hemant Hegde- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to