Q
quickquestion
Sometimes in a single column, I have numbers with different numbers of
decimal places, for example whole numbers in most rows and percentages
with one decimal place in every 5th row.
How could I adjust the decimal tabs using vba so that the cells with
one decimal place have tabs shifted to the left so that the last digit
is aligned?
Is there a way to determine the width of one numeric character?
It is pretty easy to count the characters in a cell after the decimal
point.
If I could figure out at run time the width in points or inches of a
single character, then I could move the decimal tab accordingly.
Is there a good way to do this?
Sorry if this question has been asked before.
decimal places, for example whole numbers in most rows and percentages
with one decimal place in every 5th row.
How could I adjust the decimal tabs using vba so that the cells with
one decimal place have tabs shifted to the left so that the last digit
is aligned?
Is there a way to determine the width of one numeric character?
It is pretty easy to count the characters in a cell after the decimal
point.
If I could figure out at run time the width in points or inches of a
single character, then I could move the decimal tab accordingly.
Is there a good way to do this?
Sorry if this question has been asked before.