Results 1 to 3 of 3

Thread: Flexgrid

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    Greenville, MS, Washington
    Posts
    38

    Post

    How do you format time and date in flexgrid cells?

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Like this. Assuming that the you want to format first column on the first row:

    Code:
    With MsFlexGrid
        .TextMatrix(0, 0) = Format(.TextMatrix(0, 0), "dd/mm/yy hh:mm AM")
    End with

    ------------------

    Serge

    Senior Programmer Analyst
    [email protected]
    [email protected]
    ICQ#: 51055819

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 1999
    Location
    Greenville, MS, Washington
    Posts
    38

    Post

    Thanks Serge, that's great.

    Is there a property I could use to format the entire column without having to use loops?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width