webquery URL with brackets

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.
 
D

DownThePaint

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
 
N

NickHK

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

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top