Solved

Using VBA to Set File Path and File Name in Web Pages in Order to Upload Data

Posted on 2014-04-14
1
686 Views
Last Modified: 2014-05-21
Have VBA code to logon and walk thru a password secured website the last  web page shows a dialog/text box and browse button, the input type of the text box is "file", so it will only accept input from the file browse there is also a transmit button to upload the file. I am unable to alter the webpage - it is a 3rd party page.
My problem is I am unable to programmatically  insert the path and filename of the file to be uploaded into the textbox.
need some helpscreen shot of webform to upload a file.
0
Comment
Question by:durick
1 Comment
 
LVL 36

Accepted Solution

by:
PatHartman earned 500 total points
ID: 40000422
Are you asking if Access can navigate to a web page and poke some data into a field and then press a button?  The answer is an unequivocal maybe.  Can you use the paste function of windows to populate the field?  If you can't, then Access won't be able to either.  If you can, I think you will need to figure out the name of the field and the name of the button.

It is pretty dangerous to try to paste data into a web page that you have no control over.  I would talk to the webmaster to find out if they have a service you can use instead.  That will make a cleaner, less likely to break, interface.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

679 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