How to keep null terminated in text transformation?
Ok, like this:
I have an Excel file in .xlsx
. One of the cells contains the value 132,6
and the format is the number. This means Excel shows the number as 132,60
. Now, since it represents a price (132 € and 60 cents), I would like to keep it in this format 132,60
.
Now I need to convert all cells to text format for purposes that are not important in this question. Since the value is valid 132,6
, after conversion it is the displayed text value instead of 132,60
. But I would like to keep the trailing zero when converting it to text.
Is there a VBA implementation for this?
source to share