Hi everyone,
I have specific columns. If more than or equal to 1k numbers, the numbers should be like this
=> insted of 4500 => 4.500 (should be dot not comma)
how can i do that?
Thank you.
Hi everyone,
I have specific columns. If more than or equal to 1k numbers, the numbers should be like this
=> insted of 4500 => 4.500 (should be dot not comma)
how can i do that?
Thank you.
Please try this
cdbl(VarNumberString).ToString("N2", New System.Globalization.CultureInfo("de-DE"))
Cheers
@jack.chan @Anil_G
I want to enable to this check box(“Use 1000 Separator(.)”) as you can see in the picture with specific columns.
Thank you.
paste below code in file vba.txt
Function changecolumnFormat(columnLetter)
Sheets("Sheet1").Activate
Columns(columnLetter & ":" & columnLetter).Select
Selection.NumberFormat = "#.##0"
ActiveWorkbook.Save
End Function
The code works fine but it didn’t use dot intead of comma.
result like this.
Why excel translating dot to comma i did not understand. and also putting decimal place even we did not do any decimal code or etc.
thank you.
result like this
can you send me your excel?
@Anil_G and @jack.chan i found the answer.
As Anil mentioned, the “use format cell activity” was correct . But i should have changed the category type and specified the type.
I did this ;
Thank you both for your help.
Best wishes.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.