Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.01 KB

Excel.Application.FixedDecimalPlaces.md

File metadata and controls

38 lines (23 loc) · 1.01 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.FixedDecimalPlaces property (Excel)
vbaxl10.chm133139
vbaxl10.chm133139
Excel.Application.FixedDecimalPlaces
e264dce3-4589-3e83-c931-5d69e3b8b3be
04/04/2019
medium

Application.FixedDecimalPlaces property (Excel)

Returns or sets the number of fixed decimal places used when the FixedDecimal property is set to True. Read/write Long.

Syntax

expression.FixedDecimalPlaces

expression A variable that represents an Application object.

Example

This example sets the FixedDecimal property to True and then sets the FixedDecimalPlaces property to 4. Entering "30000" after running this example produces "3" on the worksheet, and entering "12500" produces "1.25."

Application.FixedDecimal = True 
Application.FixedDecimalPlaces = 4

[!includeSupport and feedback]