Need to pass multiple parameters in VBA code

What would be the best way to pass multiple parameters in the string below? For example, var2, and var3

http://server/WebForm1.aspx?var1=" & strEnvelope
Who is Participating?
Russ SuterConnect With a Mentor Commented:
A query string will allow multiple parameters easily. Just separate them with the '&' character like this:

http://server/WebForm1.aspx?var1=" & strEnvelope & "&var2=" & strSomething & "&var3=" & strSomethingElse

Open in new window

VBA makes this parsing look a little ugly since it uses the same character for string concatenation. The end result URL should look something like:


Open in new window

Member_2_7964962Author Commented:
Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.