Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need Number style


How do I get the Number style. I tried:



Code:
--------------------

Cells(lastrw, "P").Style = "Number"

--------------------



Thanks,

Met


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=520689

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Need Number style

Are you looking to format the number???

Cells(lastrw, "P").numberformat = "#,##0.00"
--
HTH...

Jim Thomlinson


"Metrazal" wrote:


How do I get the Number style. I tried:



Code:
--------------------

Cells(lastrw, "P").Style = "Number"

--------------------



Thanks,

Met


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=520689


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need Number style


Yes.. Format will work..

Thanks..


--
Metrazal
------------------------------------------------------------------------
Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648
View this thread: http://www.excelforum.com/showthread...hreadid=520689

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
why does it only bold the number in red when i apply the % style? senorita2009 Excel Discussion (Misc queries) 2 October 5th 09 06:31 PM
Sum if Week Number and style is equal to any condition ldiaz Excel Discussion (Misc queries) 2 December 11th 07 12:59 AM
Chart formula style depends on number of sheets.... [email protected] Charts and Charting in Excel 1 December 5th 06 02:55 PM
Accounting Style Number Button Sabine Excel Worksheet Functions 3 February 2nd 05 05:25 PM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM


All times are GMT +1. The time now is 04:24 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"