auto format on number entry

  • Thread starter Thread starter bbxrider
  • Start date Start date
B

bbxrider

is there some macro/etc that will auto convert entered numbers into 2
decimal places
like an adding machine,
i dont mean to convert after the number is entered and then run a macro that
divides by 100
but essentially doing the divide by 100 when either return is hit or an
arrow key that moves
out of the cell where the number has just been entered.
 
Tools>Options>Edit.

Check "fixed decimal places" and set to 2 places.

Note: this is global setting so all workbooks/worksheets will be affected.

Otherwise, event code can do the job for a specific range or worksheet.


Gord Dibben MS Excel MVP
 
Back
Top