Hallo Leute, ich habe folgende Angelegenenheit und hoffe, das man mir helfen kann:
Code
#include <AutoIt>
Global $aRanges = [ ['B2', 'B3', 'B4', 'B5'...
...
For $i = 1 To 9 Step 1
$_readA = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][0])
$_readB = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][1])
$_readC = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][2])
$_readD = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][3])
$_readE = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][4])
$_readF = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][5])
$_readG = _Excel_RangeRead($oWorkbook, Default, $aRanges[$i][6])
...
Send("{Right " & $iCount & "}")
Alles anzeigen
Ich möchte, das bei iCount=0 1 mal rechts gedrückt wird, bei iCount= 1 3 mal; bei iCount=2 5; ..... also im zweier Step mit beginn bei 1, aber ich möchte nicht, das dabei auf die Step 3 oder 5 von der Range zugegriffen wird. Also die Lösung Step auf 2 zu stellen, kommt eher nicht in Frage. Gibt es eine Möglichkeit 2 verschiedene Steps innerhalb einer Funktion zu bestimmen?
Ich danke euch im vorraus für eure Antworten.
Gruß Bernd