Results 1 to 3 of 3

Thread: Right justifing numbers when printing

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458
    Hi,
    I have a flex grid filled with rows of numbers (prices) that when printed need to be right justified like in the real world. Eg. cents under cents:

    Wrong way: the way it's printing them
    $1543.92
    $24.75

    Right way: the way I'd like it to be printed
    $1543.92
    xx$24.75 (off course without the x's)

    I tried to use the Format() but no luck. Can anyone help?
    Thanks.
    Thanks

    Tomexx.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Ont, Canada, Earth
    Posts
    458
    I'm beginning to think that there is no way (no easy way) which is very strange to say the least. I can't imagine why wouldn't MS include a function for right-justifing currency when printing.

    Anyone?
    Thanks

    Tomexx.

  3. #3
    Member
    Join Date
    May 2000
    Location
    Canada
    Posts
    52
    to right justify

    text1 = Format(text1,"@@@@@@@")

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