Excel Developer Home > Excel Object Model Reference > Application Object > Methods
Converts a measurement from centimeters to points (one point equals 0.035 centimeters).

expression.CentimetersToPoints(Centimeters)

Return Value
Double

expression   A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
CentimetersRequiredDoubleSpecifies the centimeter value to be converted to points.

Example

This example sets the left margin of Sheet1 to 5 centimeters.

Visual Basic for Applications
Worksheets("Sheet1").PageSetup.LeftMargin = _
        Application.CentimetersToPoints(5)