Excel Style help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anujzcool
    New Member
    • Oct 2007
    • 12

    Excel Style help

    Hi,

    I am putting my values from UI to excel, now all these values are inserted as string values in the excel, But one of my columns has a date value in it.
    It works fine till this moment but after doing this i apply Style in my cells in which i am just changing the colour and font.
    However as soon as i apply style integer values are displayed in my cells containing date values.

    Can anybody help me in what can be done here

    Thanks and regards
  • balabaster
    Recognized Expert Contributor
    • Mar 2007
    • 798

    #2
    Originally posted by anujzcool
    Hi,

    I am putting my values from UI to excel, now all these values are inserted as string values in the excel, But one of my columns has a date value in it.
    It works fine till this moment but after doing this i apply Style in my cells in which i am just changing the colour and font.
    However as soon as i apply style integer values are displayed in my cells containing date values.

    Can anybody help me in what can be done here

    Thanks and regards
    Change the cell format back to date. This isn't really a .NET question and should be under a different forum.

    Comment

    • anujzcool
      New Member
      • Oct 2007
      • 12

      #3
      Thanks for reply

      However since i have a dynamic column i wont be able to figure out which is the cell whose format need to be changed to date format.
      Can you please suggest me some other way.

      Comment

      Working...