VBA webform filling in child window

Helloby

New Member
Joined
Sep 15, 2014
Messages
1
Hello,

Appreciate if anybody can help me solve this, despite the fact that i hv tried various other options already mentioned on this forum.

Now the automation task :

1 ) Open a webpage & on that webpage click on a particular button which opens up a new window
2 ) fill up the fields in that new window from excel sheet

Now the problem :
I am able to complete the task No.1 but not able to fill up the fields in newly opened window because it required to be
opened by invoking .navigate "URL" command and setting .visible = true since I must open the said URL only thru the task no.1
So i just want a solution for the second part wherein I am able to input excel data into field of child window which must not be opened by invoking .navigate command from vba script.

I Need help from the masters.

Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You can get a reference to the IE child window by using WithEvents InternetExplorer and trapping the NewWindow2 event, or by looking for it in Shell.Windows. Once you have a reference to the IE child window you can use IE.document methods (getElementsByTagName, getElementById, etc.) to populate the form fields on the page.
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top