Hi Mike,
Open "POST", would be the web page I want to send data to.
Yes. But it may not be the page you thought. The page you visit to *enter*
the data is not the URL you want in some cases. You want the page the data
is actually *submitted to*. You can go to the data entry page and view
abytPostData would be the data to send, but I don't understand the
format.
abytPostData is in name/value pair format. When viewing the source of the
data entry page, you will see several <input> and other form elements. So
if you have a page the asks for a first name, you may see <input type="text"
name="txtFName" maxlength="50" /> or similar. The name (or ID in some
cases) of the form element is what you use for the name part of the
name/value pair. So if you want to submit a first name of "Jake", you would
do this:
abytPostData = StrConv("txtFName=Jake", vbFromUnicode)
and how do I update the page, if I use manual entry there is a submit
button.
Go through each field that you need to enter and find the name of that form
element in the HTML source. String those name/value pairs together,
separated by ampersands, and put that string into abytPostData. When you
invoke the Open method specifying POST and the target URL, then invoke the
Send method, you are effectively "clicking" the submit button to POST the
data.
--
Regards,
Jake Marx
MS MVP - Excel
www.longhead.com
[please keep replies in the newsgroup - email address unmonitored]