Consulting

Results 1 to 1 of 1

Thread: How to Auto Select a file automatically in INPUT File Dialog Box

  1. #1
    VBAX Newbie
    Joined
    Jan 2016
    Posts
    3
    Location

    How to Auto Select a file automatically in INPUT File Dialog Box

    hi friends i have a problem is that how to auot select the filename in the input id ="personalPhoto" like "AC8003032" and then auto click the open button automatically.. thankx in advance

    <html>
    Select...</span>
    <input id="PersonalPhoto" name="PersonalPhoto" type="file"/>
    </div>`enter code here`
    </html>


    IE.Document.
    getElementById("PersonalPhoto").Click
    IE
    .Document.getElementById("PersonalPhoto").FileName.Value = AC8003032


    Attached Images Attached Images
    Last edited by nvdgl; 01-18-2016 at 03:59 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •