Runescope
Well-known member
- Joined
- Jan 6, 2011
- Messages
- 53
- Programming Experience
- Beginner
Hi!
Just curious if anyone knows if it's possible to format numbers in the DataGridView so they look like the Accounting format in Excel. This is different from the Currency format (which I know how to do).
for example:
$5000.00
$3000.00
$2500.50
_$100.00
That is currency formatting, the dollar sign is right up against the numbers.
$___5000.00
$___3000.00
$___2500.50
$____100.00
That is accounting formatting, the dollar sign is hard left in the cell and the dollar amounts are hard right.
No biggie if it can't be done (or done easily), it's just a little CDO of mine that I would prefer.
Thanks!
Just curious if anyone knows if it's possible to format numbers in the DataGridView so they look like the Accounting format in Excel. This is different from the Currency format (which I know how to do).
for example:
$5000.00
$3000.00
$2500.50
_$100.00
That is currency formatting, the dollar sign is right up against the numbers.
$___5000.00
$___3000.00
$___2500.50
$____100.00
That is accounting formatting, the dollar sign is hard left in the cell and the dollar amounts are hard right.
No biggie if it can't be done (or done easily), it's just a little CDO of mine that I would prefer.
Thanks!