Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.05 KB

Excel.Application.FixedDecimal.md

File metadata and controls

38 lines (23 loc) · 1.05 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.FixedDecimal property (Excel)
vbaxl10.chm133138
vbaxl10.chm133138
Excel.Application.FixedDecimal
49b0a3de-bf5a-0130-e473-5b52f761932a
04/04/2019
medium

Application.FixedDecimal property (Excel)

All data entered after this property is set to True will be formatted with the number of fixed decimal places set by the FixedDecimalPlaces property. Read/write Boolean.

Syntax

expression.FixedDecimal

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]