Hi.
I have this VBA code, where i pull data from word and then i transfer other data back to word.
I have this code:
And this code for example takes this from excel "155,40" and returns it to word as this "155.4".
This problem only occurs when there's a zero at the end of the decimals. But i want the number to be transferred as "155.40".
What can i add to this?
Thank you so much in advance
I have this VBA code, where i pull data from word and then i transfer other data back to word.
I have this code:
Code:
Call findAndReplace(Replace(Round(vbaSheet.Cells(i, "U").Value, 2), ",", "."), "Freight:", 3)
And this code for example takes this from excel "155,40" and returns it to word as this "155.4".
This problem only occurs when there's a zero at the end of the decimals. But i want the number to be transferred as "155.40".
What can i add to this?
Thank you so much in advance
Last edited: