Here is VBA-code to convert a traditional banking account number to IBAN :
- Code: Select all Expand view
- Public Function BBANtoIBAN(ByVal BBAN As String) As String
Dim xd As Object
Set xd = CreateObject("msxml2.domdocument.4.0")
xd.Load "http://www.ibanbic.be/IBANBIC.asmx/BBANtoIBAN?value=" & BBAN
Do While xd.readyState <> 4
DoEvents
Loop
BBANtoIBAN = xd.Text
End Function
Thanks a lot for any help.