Answered Create CSV file with styles

  • Tuesday, December 26, 2006 2:34 PM
     
     

    Hi,

    How can I create CSV file with styles?

    Thank's
    Alexei

All Replies

  • Tuesday, December 26, 2006 5:50 PM
     
     

    Hi Alexei,

    A CSV file is a "comma separated values" file. According to me, CSV files don't contain formatting. So it is not possible to have a CSV file with formatting in it.

    Greetz,

    Geert

     

    Geert Verhoeven
    Consultant @ Ausy Belgium

    My Personal Blog

  • Wednesday, December 27, 2006 7:55 AM
     
     

    Hi,

    Can you suggest me what type of file I can create with styles that can be openned in Excel with double click on it?

    Thank's
    Alexei

  • Wednesday, December 27, 2006 9:08 AM
     
     Answered

    Hi,

    You can use the default .xls format. Here is an example of how to do it: http://support.microsoft.com/kb/302084.

    Note: You will see that .NET renders the xls file as an xml based file. This format is not supported by Excel 2000 and earlier.

    Greetz,

    Geert

     

    Geert Verhoeven
    Consultant @ Ausy Belgium

    My Personal Blog

  • Wednesday, December 27, 2006 9:50 AM
     
     

    Hi,

    I need something for openning files in Excel 2000.

    Can I am using the COM and work with all versions of Excel?

    Thank's
    Alexei