Newbie at VBA here.

I just had a client ask me to write an Excel VBA thing to read xml given an address. That is, you navigate to http://whatever.com/stuff.asp and you'd see xml in your browser.

I searched around and found this code.
VB Code:
  1. Dim qtsQueries As QueryTables
  2.     Dim qtQuery As QueryTable
  3.    
  4.     Set qtsQueries = ActiveSheet.QueryTables
  5.     Set qtQuery = qtsQueries.Add _
  6.         ("URL;http://whatever.com/stuff.asp", _
  7.         Application.Range("A1"))
  8.    
  9.     With qtQuery
  10.         .Refresh
  11.         If .FetchedRowOverflow Then
  12.             MsgBox "Your request returned too many results. " _
  13.             & "Please refine your search.", vbInformation, "Result Error"
  14.         End If
  15.     End With
It works fine, I guess, but it says it was written for Excel 2002. Can anyone let me know if this is considered best practice or not? I'm actually targeting Excel 2003.

Thanks,
Mike