VBA for Web Elements

imgaur7

New Member
Joined
Dec 25, 2017
Messages
32
Hi there,

I am working on a web automation for my personal work, wherein

1. VBA picks up the web links from the excel A2 cell
2. Open in a IE browser, and fill the values as in Excel cells
3. Click on Submit (Till here everything works fine)
4. New web page opens

Now here in the next web page which opens I am not able to use the elements to fill it with the Text in the excel

Below is the web code for better understanding

---------
<code>
<fieldset>
<legend>Form Question</legend>
<div class="text_question" id="question_7127236_response">
<input name="question_7127236" class="text" type="text" value="">
</div>
</fieldset>
</code>


----------
Kindly help here as the VBA codes are not working on the next page here, and find the id="question_127000_response", so to enter the Text from excel.

(I think a new IE.DOCUMENT need to be redefined ...... etc)
I am learning by referring to other codes and trying to get all the things together for a result.
 
Last edited:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,430
Messages
6,119,438
Members
448,897
Latest member
dukenia71

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