View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] Steven@pctamers.eu is offline
external usenet poster
 
Posts: 30
Default Currency change via vba

Help please . . . .

I want a user to be able to select a currency from a drop-down and the following macro will change certain cells to that currency. SO far it's working fine for £, EURO and ¥ (Pounds, Euros and Yen) but if it's changed to $ it does not appear to be working:- the cell's number formats are changed to £ (which is also my default currency format).




Currency_Symbol = Worksheets("Invoice").Range("H6")

Worksheets("Invoice").Range("I25:I42").NumberForma t = Currency_Symbol & "#,##0.00_);(" & Currency_Symbol & " #,##0.00)"



Any help very much appreciated.

Cheers!

Steve