Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8696855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:22:00+00:00 2026-06-13T01:22:00+00:00

I regularly enter data to a third party database. I’m trying to make a

  • 0

I regularly enter data to a third party database. I’m trying to make a simple VBscript that will lift data from my own Excel spreadsheet and place it in the third party entry form on internet explorer. The process is working except when I get to an iframe on the entry form. Would really appreciate any help on this. I’m a novice.

I need the form to already be open before I launch the VBS (long story) so my script needs to look for the open page. I found a script that does this already. I’ve created a demo entry system, it goes like this:

index.htm

<html>
<body>

<p>First input box is on the_index.htm (main document).</p>
<input id="title" name="title-1" style="width: 220px;" title="enter title" type="text" value="">

<br /><br /><br /><br />
<iframe frameborder="0" id="input_frame" marginheight="0" marginwidth="0" name="input_frame" src="the_iframe.htm">

</body>
</html>

the_iframe.htm

<html>
<body>
<p>Second input box is on the_iframe.htm (iframe called from the main document).</p>
<input id="title" name="title-1" style="width: 220px;" title="enter title" type="text" value="">
</body>
</html>

then my VBS is currently looking like this (sadly the the demo htms have to be hosted, so that the script can find the page (see the first line):

inputscript.vbs

surl ="http://www.website.com/index.htm"
set ie = nothing
set shapp=createobject("shell.application")
on error resume next
For Each owin In shapp.Windows
     if left(owin.document.location.href,len(surl))=surl then
        if err.number = 0 then
        set ie = owin
          end if     
    end if
err.clear
Next
on error goto 0
if ie is nothing then
    wscript.echo "Window Not Open"

else
IE.Document.All.Item("title").Value = "wheee1"
IE.Document.frames("input_frame").All.Item("title").Value = "wheee2"
end if

The “wheee1” deployment works fine, but the wheee2 generates ‘object doesn’t support this property or method: ‘ie.document.frames(…).All’. If I get rid of the ‘.All’ then the error is ‘member not found’.

Can anyone tell if there’s a simple fix here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:22:01+00:00Added an answer on June 13, 2026 at 1:22 am

    You could get just frame window through IE.Document.frames("input_frame"). Since it’s not a document, you need to include Document for this addressing too.

    IE.Document.Frames("input_frame").Document.All("title").Value = "wheee2"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a GUI application that regularly retrieves data through a web connection. Since
I have a database which I regularly need to import large amounts of data
I have a PHP script that works by calling items from a database based
I am trying to retrieve data from a file to change it and replace
I'm trying to build a list that will be used as the in clause
I have a class that is called regularly by several objects. I would like
I have a website that is updated regularly and I am having a problem
I run into the following issue semi-regularly: I make changes to XAML or some
I have a website that I regularly update the code to. I keep it
I'm facing the need to enter ragged data in a WinForms application. Some columns

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.