Hi all,
VBA question. I need to use more than one exchange rate, so I have a message box as I want manual input of rates for Euros, however at the moment the box comes up for every line of euros. Can you please help so I only have to input rate once.
VBA question. I need to use more than one exchange rate, so I have a message box as I want manual input of rates for Euros, however at the moment the box comes up for every line of euros. Can you please help so I only have to input rate once.
VBA Code:
'tax rate
For I = 2 To lastrow1
If SOP.Range("a" & I).Value <> "" Then
If SOP.Range("E" & I) Like "*GBP*" Then
xrate = "'1."
SOP.Range("E" & I).Offset(0, 6) = xrate
Else
myInputBoxVariable = Application.InputBox("Current EUR Exchange Rate?", "Please Enter Rate", , , , , , "2")
SOP.Range("E" & I).Offset(0, 6) = myInputBoxVariable
End If
End If
Next I
Last edited by a moderator: