Hello-
I'm trying to find the last row in a worksheet. In Excel VBA the code would look something like this:
In BP, I copied the Go To Next Cell Action and tried to modify it as follows:
lastcellref = GetInstance(handle).Cells.SpecialCells(xlCellTypeLastCell).Address
However I keep getting an error message indicating xlCellTypeLastCell needs to be declared. Please advise as to what I am missing - thanks!
I'm trying to find the last row in a worksheet. In Excel VBA the code would look something like this:
In BP, I copied the Go To Next Cell Action and tried to modify it as follows:
lastcellref = GetInstance(handle).Cells.SpecialCells(xlCellTypeLastCell).Address
However I keep getting an error message indicating xlCellTypeLastCell needs to be declared. Please advise as to what I am missing - thanks!