Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 953 Bytes

Excel.Application.InchesToPoints.md

File metadata and controls

49 lines (29 loc) · 953 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.InchesToPoints method (Excel)
vbaxl10.chm133148
vbaxl10.chm133148
Excel.Application.InchesToPoints
7689eae4-f533-32e3-d431-4873029a8bc1
04/05/2019
medium

Application.InchesToPoints method (Excel)

Converts a measurement from inches to points.

Syntax

expression.InchesToPoints (Inches)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Inches Required 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)

[!includeSupport and feedback]