I need to remove the decimals from a column of numbers and retain all the digits.
Example:
123.45 = 12345
1188.00 = 118800
25.60 = 2560
I've tried find (.) and replace (). It removes the decimal but drops the zeros. I've seen an array formula that works on a fixed number of digits. Using that I think I can do it with a lengthy nested If Then statement on the sheet, but I'm hoping there is a clean reliable way to do it in VBA as part of a macro I'm already running.
Thanks,
renigar
Example:
123.45 = 12345
1188.00 = 118800
25.60 = 2560
I've tried find (.) and replace (). It removes the decimal but drops the zeros. I've seen an array formula that works on a fixed number of digits. Using that I think I can do it with a lengthy nested If Then statement on the sheet, but I'm hoping there is a clean reliable way to do it in VBA as part of a macro I'm already running.
Thanks,
renigar