?
Solved

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

Posted on 2014-04-14
1
Medium Priority
?
713 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 38

Accepted Solution

by:
PatHartman earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

770 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