Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

script opens the excel file again and again

$
0
0
Hello my friends,
I wrote a simple script that writes a column in excel to a web page. But the script opens the excel again and again for no reason :(
This is my script:

Local $oExcel = _ExcelBookOpen(//here I put the excel path)

Global $aArray = _ExcelReadSheetToArray($oExcel)

MouseClick("left",$start_pos_web_x,$start_pos_web_y,1,0)
For $i = 1 To 5
Send($aArray[$i][1])
Send("{TAB}")
Send("{TAB}")
Next

I want to paste the array items in the web page (first I go to the first form-which is done with the mouseClick function, and then I skip the forms with 2 tabs).
I don't understand why it opens the excel each time (its not even in a loop).

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>