webquery URL with brackets

  • Thread starter Thread starter davek
  • Start date Start date
D

davek

I need to programatically pull down a web page with a URL that
includes brackets. Excel *thinks* I want to be prompted to enter
paramenters. How can I disable the parameters and/or escape the
brackets if they need to be included in the webquery link.

I did try encoding the brackets to %5 for [ and B% for ] but I still
get prompted to enter parameter values.

Here is an example URL with brackets:
http://forecast.weather.gov/MapClic...xtField1=44.9477&textField2=-93.1037&site=mpx

Thanks.
 
Hi (e-mail address removed)

(1) Try breaking up the http string like http://domain.com" & "[]" &
"otherstuff"

(2) You might try to use a single quote delimiter '

Hope it helps
 
If you remove those offending brackets from the URL, you still get the same
data, but with additional weather info.

NickHK
 
Back
Top