79290429

Date: 2024-12-18 08:34:53
Score: 1.5
Natty:
Report link

If someone finds this answer years later, like I did, use chrW(128) instead of chr(), that forces Unicode character. If it matches what Excel expects for a currency format it will still recognize the cell as currency.

For example: Range("A1:A100").NumberFormat = " $" & ChrW(128) & " #,###.00";

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: evandromr