Přidat desetinná čísla:If Len(Range("A1").NumberFormat) = 1 Then
Range("A1").NumberFormat = "0.0"
Else
Range("A1").NumberFormat = WorksheetFunction.Substitute(Range("A1").NumberFormat, ".", ".0")
End If
ubrat desetinné místo:If Len(Range("A1").NumberFormat) = 3 Then
Range("A1").NumberFormat = WorksheetFunction.Substitute(Range("A1").NumberFormat, ".0", "")
Else
Range("A1").NumberFormat = WorksheetFunction.Substitute(Range("A1").NumberFormat, ".0", ".")
End Ifcitovat
Range("A1").NumberFormat = "0.0"
Else
Range("A1").NumberFormat = WorksheetFunction.Substitute(Range("A1").NumberFormat, ".", ".0")
End If
ubrat desetinné místo:If Len(Range("A1").NumberFormat) = 3 Then
Range("A1").NumberFormat = WorksheetFunction.Substitute(Range("A1").NumberFormat, ".0", "")
Else
Range("A1").NumberFormat = WorksheetFunction.Substitute(Range("A1").NumberFormat, ".0", ".")
End Ifcitovat