Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cell Height & Width in Inches 2

Status
Not open for further replies.

theDabster

Technical User
Dec 23, 2001
21
US
Folks,
Is it possible to format cell height and width based on
inches. It looks like it's based on picas. I have searched Excel's Help as well as on this forum, but no luck (or else I missed it). I would like to be able to make a cell (as an example) .25 inches high by 1.45 inches wide. Any help will be appreciated.

Dave
 
Hi,

Why not use Inches to Points? Help states...
Code:
InchesToPoints Method
See Also Applies To Example Specifics 
Converts a measurement from inches to points.

expression.InchesToPoints(Inches)

expression   Required. An expression that returns an Application object.

Inches   Required Double. Specifies the inch value to be converted to points.

Example
This example sets the left margin of Sheet1 to 2.5 inches.

Worksheets("Sheet1").PageSetup.LeftMargin = _
        Application.InchesToPoints(2.5)
Hope this helps :) Skip,
Skip@TheOfficeExperts.com
 
If it helps (and if I recall correctly, there are)

72 pts to an inch
24 pts to a cm Blue Monkey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top