Hi, I'm just learning how to use Pulover's Macro and I alredy have a big problem:
I need to create a loop that repeat itself a number of times equal to a value inside an excell cell
Is it possibile to do so?
Loop x times = excell cell
Re: Loop x times = excell cell
You can use Loop, %VariableName% to set the number of times to loop equal to a variable.
Re: Loop x times = excell cell
why not try getting the value inside that cell?danielc wrote:Hi, I'm just learning how to use Pulover's Macro and I alredy have a big problem:
I need to create a loop that repeat itself a number of times equal to a value inside an excell cell
Is it possibile to do so?
Code: Select all
oWorkBook := ComObjActive("Excel.Application")
var1 := oWorkbook.Activesheet.Range("A1").Value
Loop, %var1%
{
do something here
}