Formatting macro required

P

pcor

I would like a macro that will format any selecred cell : It should
format as a NUMBER of 2 decimals
Thanks
 
D

Don Guillett Excel MVP

Activecell.Numberformat = "#,#00.00"

--

HTH

Bob






- Show quoted text -

If you want it to be truly automatic, put within a
worksheet_selectionchange event macro in the sheet module.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top