LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default formatting decimal places in code

I tried to find the answer by searching, but could not.

I'm using code like the following to format cells. I can do everything I
want except set decimal places. Is there a way to do this following the
pattern below?

With objActiveWkb.Worksheets("Sheet1").Cells(I, K)
.Select
.Font.Name = "Arial"
.Font.Size = 8
.HorizontalAlignment = xlCenter
End With

Thanks in advance,
Clint Herman
 
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 and adding cells formatted to 2 decimal places Colin Excel Worksheet Functions 3 May 5th 08 10:59 PM
conditonally formatting decimal places BigMikeGallagher Excel Discussion (Misc queries) 0 April 6th 06 06:08 PM
Formatting a cell to display varying decimal places. JayE Excel Programming 8 May 21st 05 11:35 PM
Currency Formatting to 3 decimal Places David Dalebroux Excel Programming 1 August 7th 04 09:22 PM
Conditional Formatting - number of decimal places Andrew[_24_] Excel Programming 2 November 12th 03 09:04 PM


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

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

About Us

"It's about Microsoft Excel"