LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 470
Default Help to align FORMAT

I use a commandbutton to display gross pay of the current payperiod for two
part-time jobs. It takes three lines and for the most part, everything lines
up.

Problem is if the length of one amount is different than the other, then
they do not line up. Example: $98.00 will not line up with $135.00 since one
has 3 numbers to left of decimal and the other is only 2 numbers to the left.
I tried FORMAT(amt,"##0.00") and FORMAT(amt,"000.00"). The amounts will not
be greater than $999.99.

What format can I use to insure columns line up?

Thanks,
Les
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheets are stuck on default text format with left align xineyeager Excel Worksheet Functions 2 March 27th 10 09:34 PM
format cell: right align with indent wb198 Excel Discussion (Misc queries) 5 February 15th 08 01:31 AM
Format and Align Columns TKM New Users to Excel 3 October 19th 06 06:06 PM
Accounting format does not align decimals. Accounting Alignment Excel Discussion (Misc queries) 1 July 7th 06 08:42 PM
Format numbers so they align lance559 Excel Discussion (Misc queries) 2 February 10th 06 05:37 PM


All times are GMT +1. The time now is 04:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"