We have a macro that reviews all the formatting of one spreadsheet against another spreadsheet.
My problem:
If spreadsheet "A" has a percentage formatting of 0.00% and spreadsheet "B" has a percentage formatting of 0.000%, when entering the results in a separate "Results" spreadsheet, Excel converts 0.000% as 0.00%.
What I've tried:
I've simply passing them as string values, but since they are numeric, Excel appears to convert them. I've tried using the IsNumeric function the check and set the formatting for these particular "results" cells as text ("@") formatting, but IsNumeric doesn't recognize the string percentages as numeric.
If I push the results to a text file, they are fine, but the customer is going to want a spread sheet of the resulting comparisons. So I'm not sure how to get the percentage formatting to display as text and not as a number.
My problem:
If spreadsheet "A" has a percentage formatting of 0.00% and spreadsheet "B" has a percentage formatting of 0.000%, when entering the results in a separate "Results" spreadsheet, Excel converts 0.000% as 0.00%.
What I've tried:
I've simply passing them as string values, but since they are numeric, Excel appears to convert them. I've tried using the IsNumeric function the check and set the formatting for these particular "results" cells as text ("@") formatting, but IsNumeric doesn't recognize the string percentages as numeric.
If I push the results to a text file, they are fine, but the customer is going to want a spread sheet of the resulting comparisons. So I'm not sure how to get the percentage formatting to display as text and not as a number.