Solved

Need to pass multiple parameters in VBA code

Posted on 2016-09-01
2
37 Views
Last Modified: 2016-09-02
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
0
Comment
Question by:Member_2_7964962
2 Comments
 
LVL 20

Accepted Solution

by:
Russ Suter earned 500 total points
ID: 41780239
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:

http://server/WebForm1.aspx?var1=value1&var2=value2&var3=value3

Open in new window

0
 

Author Comment

by:Member_2_7964962
ID: 41780342
Thank you.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now