Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Selecting part of a column

I need to format a number to for decimal in all of column H and K and only
G13 to the end of the G column how do I do this?

Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Selecting part of a column

Type this in the name box (to the left of the formula bar)

h:h,k:k,G13:G65536
hit enter
format|cells|number tab
choose the format you like.

Mike wrote:

I need to format a number to for decimal in all of column H and K and only
G13 to the end of the G column how do I do this?

Mike


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Selecting part of a column

Mike,
I would think the difference is minimal.


"Mike" wrote:

Thanks for that that's just what I needed.

Is it faster if I am formatting say 200 rows of data to format the whole
column or to use the Rows.Count and only format the rows with data i them??


Thanks
Mike


"Toppers" wrote:

Mike,

Range("H:H,K:K,G13:G" & Rows.Count).NumberFormat = "0.000"

Format with 3 decimal places


HTH

"Mike" wrote:

I need to format a number to for decimal in all of column H and K and only
G13 to the end of the G column how do I do this?

Mike

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Selecting part of a column

Thanks for that that's just what I needed.

Is it faster if I am formatting say 200 rows of data to format the whole
column or to use the Rows.Count and only format the rows with data i them??


Thanks
Mike


"Toppers" wrote:

Mike,

Range("H:H,K:K,G13:G" & Rows.Count).NumberFormat = "0.000"

Format with 3 decimal places


HTH

"Mike" wrote:

I need to format a number to for decimal in all of column H and K and only
G13 to the end of the G column how do I do this?

Mike

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Selecting part of a column

Mike,

Range("H:H,K:K,G13:G" & Rows.Count).NumberFormat = "0.000"

Format with 3 decimal places


HTH

"Mike" wrote:

I need to format a number to for decimal in all of column H and K and only
G13 to the end of the G column how do I do this?

Mike

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
Selecting part of a number in a cell HRassist Excel Worksheet Functions 1 June 6th 07 08:15 PM
Selecting part of a series for a chart? Al Charts and Charting in Excel 6 May 16th 06 12:45 PM
Selecting part text in a textbox vqthomf Excel Programming 5 October 15th 05 02:10 PM
Help: selecting part of an array Philbyinsydney Excel Programming 1 March 5th 04 01:15 AM
Selecting used part of a range HBS Excel Programming 3 December 11th 03 10:37 PM


All times are GMT +1. The time now is 11:07 AM.

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"