472,958 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Object Required on VBA IE Automation

BHo15
143 128KB
Greetings All.

Having trouble automating a website. When I try to assign a value to a text box on the page, I get Run-Time Error 424 Object Required.

Here is my VBA...

Expand|Select|Wrap|Line Numbers
  1.             .document.getElementById("IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3").Value = strAssessment(i)
  2.             Sleep (250) 'Had to add sleep to give it time to complete each of these tasks
  3.  
Here is the HTML for the field I want to get...

Expand|Select|Wrap|Line Numbers
  1. <input name="IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3" class="cat_item_option sc-content-pad form-control" id="IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3" aria-required="true" onchange="if (typeof(variableOnChange) == 'function') variableOnChange('IO:3b05fe9b1b00ac14a6fdfd9f034bcbd3')" maxlength="2147483647" value="">
Any thoughts?

Thanks!
Dec 28 '20 #1
0 2084

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dave Hammond | last post by:
I've got what should be a simple assignment of either an element value or a default string to a variable, but when the element doesn't exist I get an "Object required" error rather than an...
7
by: google | last post by:
I am trying to use the following ASP code to examine the file names in a folder: Dim fso, f, fl, s, fs Set fso = CreateObject("Scripting.FileSystemObject") Set f =...
2
by: RICHARD BROMBERG | last post by:
I am using Access 200. I have a form which includes text boxes L1, L2 and L3 And a table tblGrades with number fields L1, L2 and L3
2
by: MaxiBrain | last post by:
How can i correct the Run-time error '424" error that says object required. Every of the required object is in their right order. Please help me. lblExtendedPrice.Caption =...
1
by: Eric | last post by:
What does that error means: Object required I try to use List8.AddItem but when i click on . it not shows AddItem in the window Do Until rst.EOF i = i + 1 Me.List8.ItemData(i) =...
1
by: ced69 | last post by:
having trouble getting marquee to work get object required errors tring t <title>This Month at the Chamberlain Civic Center</title> <link href="styles.css" rel="stylesheet"...
4
by: =?Utf-8?B?cGJsYWNrYnVybg==?= | last post by:
Summary Getting the error message Run time error 424 Object Required when attempting to assign a value to a C# COM visible property of type object. I have created a COM visible class as below ...
3
by: ShyamKrishnegowda | last post by:
We are writing test scripts to our product. In one of the script we are facing an issue. This test script will create a COM component and executes the following function. O1 and O2 are out...
1
by: ShyamKrishnegowda | last post by:
We are writing test scripts to our product. In one of the script we are facing an issue. This test script will create a COM component and executes the following function. O1 and O2 are out...
1
by: newbguy7040 | last post by:
So I just started learning HTML and Javascript about a week ago, and while I'm writing this code, I get an error saying "Object Required". I don't understand why the object is required, and how to...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.