Consulting

Results 1 to 3 of 3

Thread: Solved: Upload file into website

  1. #1
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location

    Solved: Upload file into website

    Hai all, I am trying to upload text file to website from Excel I write the code for login into website and select another tab but i can't set value (file path) for below HTML attribute
    Input Type="file" id="file" name="file"
    i search for solution and got answer that we can't set value for value for "file" element i also try below code
    Dim brow As InternetExplorer
    Dim hdoc As HTMLDocument
    'login codes
    'after login
    hdoc.all.file.click ' this code opens filedialog
    above code opens filedialogbox anyway to set path for file element or select programatically file in filedialogbox please help

  2. #2
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location
    Any help?....

  3. #3
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location
    found solution by using sendmessage API

Posting Permissions

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