Share via


Application.InchesToPoints Method (Excel)

Converts a measurement from inches to points.

Syntax

.InchesToPoints(Inches)

A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Inches

필수

Double

Specifies the inch value to be converted to points.

Return Value

Double

Example

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

Worksheets("Sheet1").PageSetup.LeftMargin = _ 
 Application.InchesToPoints(2.5)

참고 항목

개념

Application Object

Application Object Members