Hi Norie,
Yes I did change the columns (I did mention it above). The problem I had is that there are blank rows in my data. I had to insert another column and where there was a blank in column F put "GBP" in column P. This way all the cells in column but would be populated. It didn't matter if the blank cells in column H were formatted as GBP as there was nothing in those cells. Anyway I have been able to muddle my way through it with some online help from forums etc. This is what I got.
introw = 5
Do Until Range("P" & introw) = ""
celltxt = Range("P" & introw).Text
If InStr(1, UCase(celltxt), "GBP") Then
Range("H" & introw).NumberFormat = "$#,##0.00_);[Red]($#,##0.00)"
ElseIf InStr(1, UCase(celltxt), "USD") Then
Range("H" & introw).NumberFormat = "[$$-409]#,##0.00_ ;[Red]-[$$-409]#,##0.00 "
End If
introw = introw + 1
Loop
Bookmarks