Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URLEncoding in VBA

Status
Not open for further replies.

jedownsjr

IS-IT--Management
Jun 2, 2003
121
US
Does anyone know how to URLEncode using VBA? I have a URL that has special characters (such as the @ character), and I need to make sure that this is passed as a valid URL, using something equivalent to the ASP command URLEncode(URLVariableHere).
 
Does this code actually encode the URL? The problem I was having was that the web page would not open because of some special characters in the URL that messed things up. If I was using ASP instead of VBA, I would use URLEncode to tranlate the URL before passing it. Is the translation built into the VBA commands you recommended? -Thanks-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top