+ Reply to Thread
Results 1 to 3 of 3

Populate Web Form with macro

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    3

    Populate Web Form with macro

    Hello;

    I have a problem after filling in some forms on specific third party site;

    After filling in all fields and giving the order to save the info, the fields which had the correct info return to blank, and nothing gets saved on the web page...

    I'm kind of new to this and cannot understand why or how to solve this small issue

    Can anyone help me a little bit?
    Thanks in advance;

    Here's how my code looks like...

    Sub testing()
    Dim IE As Object
    Set IE = CreateObject("INTERNETEXPLORER.APPLICATION")
    IE.NAVIGATE Range("a1").Value

    IE.Visible = True

    While IE.BUSY
    DoEvents

    Wend
    IE.Document.all("qi41").Value = ThisWorkbook.Sheets("Folha3").Range("a41")
    IE.Document.all("imagelight").Click


    End Sub

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Populate Web Form with macro

    Hi Pedro Rodrigues,

    I'm not sure what you're trying to do.

    You say you're filling in a webform, so why would you be adding code to the 'front end' form?

    Then your code belongs in the design view of the form, is that where your problem is?

    If so, then exactly where?

    Can you explain further?
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    10-15-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Populate Web Form with macro

    Well, I'm not a big code maker, but i will try to explain.

    I have an excel file from which i want to take info and insert it on a third party web page, saving like this a lot of time for each report i have to fill in.
    I started this from a code i found in the internet, and spent a lot of time working on it already, because i need to fill aproximatly 600 lines, 3 inputs for each line;
    Basicly the info is numbers, that will generate a report, on the web page owner, after clicking the save button;

    What happens is that in the original codeline, (working with google webpage) it inserts the data and works ok, but on my case, in the webpage i'm working, it inserts the data, but when you click for saving, all fields go blank, and no info gets saved...

    I don't know how to explain it better; I thank you for your concern... Can you help me figuring out what is wrong on this?
    Thanks in advance...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Automatically populate form dropdowns in word with macro
    By carlosriver24 in forum Word Programming / VBA / Macros
    Replies: 14
    Last Post: 08-03-2012, 04:17 PM
  2. Calling a user form initialize sub when entering the form to populate combobox...
    By regupnorth in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-02-2012, 07:24 AM
  3. Replies: 3
    Last Post: 05-18-2012, 03:12 PM
  4. [SOLVED] Macro to collect data from Excel Form and populate multiple tabs
    By kande in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-26-2012, 11:15 AM
  5. macro user form populate sheet
    By johncrofts in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2011, 05:22 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1