Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Formatting macro required

I would like a macro that will format any selecred cell : It should
format as a NUMBER of 2 decimals
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 834
Default Formatting macro required

Activecell.Numberformat = "#,#00.00"

--

HTH

Bob

"pcor" wrote in message
...
I would like a macro that will format any selecred cell : It should
format as a NUMBER of 2 decimals
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 168
Default Formatting macro required

On Jun 29, 3:18*am, "Bob Phillips" wrote:
Activecell.Numberformat = "#,#00.00"

--

HTH

Bob

"pcor" wrote in message

...



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


- Show quoted text -


If you want it to be truly automatic, put within a
worksheet_selectionchange event macro in the sheet module.
Reply
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
Formatting help required... John Excel Worksheet Functions 1 April 25th 07 11:44 PM
Conditional Formatting help required Dale Fye Excel Discussion (Misc queries) 6 March 30th 07 07:41 PM
Conditional formatting help required please y_not Excel Discussion (Misc queries) 2 July 21st 05 01:14 PM
Object required when formatting Todd Huttenstine Excel Programming 3 April 14th 04 03:27 PM
Formatting userform textbox - help required Kennyatwork Excel Programming 3 February 6th 04 04:58 PM


All times are GMT +1. The time now is 11:05 PM.

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

About Us

"It's about Microsoft Excel"