A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

cell sizes



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2003, 07:02 PM
bob
external usenet poster
 
Posts: n/a
Default cell sizes

Howl do set the cell size to inches
rather than no. of characters per font
size.
  #2  
Old October 22nd, 2003, 08:14 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default cell sizes

Bob -

You can't change the default measurement system for column width, but
you can use a simple macro to convert inches to characters, and adjust
cell sizes this way. This macro changes the worksheet to an array of
2-inch square cells.

Sub TwoInchSquareCells()
Dim i As Integer
For i = 1 To 4
With ActiveSheet
.Cells.RowHeight = 144
.Cells.ColumnWidth = _
.Cells(1, 1).ColumnWidth * 144 / .Cells(1, 1).Width
End With
Next
End Sub

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

bob wrote:

Howl do set the cell size to inches
rather than no. of characters per font
size.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:13 PM.


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