Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Number format TextBox?

How do I number format this code to read ("###0")

..Range("J188") = .Range("J187").Value
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number format TextBox?

..Range("J188") = .Range("J187").Value
..RANGE("J188").NumberFormat = "###0"

'if you want to change the value then
..Range("J188") = Round(.Range("J187").Value)

If this post helps click Yes
---------------
Jacob Skaria


"hoyos" wrote:

How do I number format this code to read ("###0")

.Range("J188") = .Range("J187").Value

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Number format TextBox?

Thank you Jacob that will do nicely!!

"Jacob Skaria" wrote:

.Range("J188") = .Range("J187").Value
.RANGE("J188").NumberFormat = "###0"

'if you want to change the value then
.Range("J188") = Round(.Range("J187").Value)

If this post helps click Yes
---------------
Jacob Skaria


"hoyos" wrote:

How do I number format this code to read ("###0")

.Range("J188") = .Range("J187").Value

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
Date format textbox? Tdp Excel Discussion (Misc queries) 2 October 15th 08 08:11 PM
how to format text in textbox? ghost Excel Discussion (Misc queries) 1 May 18th 08 10:41 AM
TextBox format? AOU Excel Discussion (Misc queries) 4 June 12th 07 11:24 PM
Textbox date format. AOU Excel Discussion (Misc queries) 2 April 24th 07 02:28 PM
TextBox Format grahammal Excel Discussion (Misc queries) 3 March 29th 06 01:35 PM


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