79685022

Date: 2025-06-30 15:45:23
Score: 2
Natty:
Report link

I tested the following which seems to work and could replace Golemic's code immediately above. Since I deal with dozens of currencies, a SELECT CASE construct is not so helpful for me.

WantedCurrencyCode as String
WantedCurrencyCode = "#,###,##0.00 [$" + Range("A1").Value + "]" Worksheets("Sheet2").Range("Table1").NumberFormat = WantedCurrencyCode Worksheets("Sheet3").Range("Table2").NumberFormat = WantedCurrencyCode Worksheets("Sheet4").Range("Table3").NumberFormat = WantedCurrencyCode

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bill S