Jump to content

How to use array as input in IE


_Ray
 Share

Recommended Posts

Hi All,

I was searching for a topic here but I was not able to find one that can answer my problem. I posted yesterday about how to read excel and I was able to get it done (thanks to Subz) but my problem now is how I can use the values I got as an input in IE. It gives me an error when trying to use it directly. I am attaching sample image of the error. Sorry I can't copy the text since it was restricted as I am working remotely

image.png

Link to comment
Share on other sites

Local $datawb.worksheets("Sheet1").Activate

You need to remove the Local at the beginning of this line.

For $x = 1 UBound($aMyData) - 1

You're missing the "To" between 1 and UBound.

As far as setting the value of the Input element, take a look at the help file entry for _IEFormElementSetValue.

Link to comment
Share on other sites

7 hours ago, Luke94 said:

You we're passing '\SBMO Store setting input.xlsx' into the $bReadOnly parameter.

I didn't notice this part. I wasted a day for this. Thank you very much @Luke94.

This forum is really awesome. It really helps newbies like me :) 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...