Repeating Function.

3 posts in this topic

Zombie1982 0

Basically I've been working on a small automation to make my life eaiser... now I've come across something thats not really a problem, but more of a curiosity. I've got a function that I'm going to have to copy/paste to repeat 16 times, as I'm grabbing one line from an excel spreadsheet and pasting it into another application. Below is a example of part of my script.

Its basically only the "$ExcelGrab = _ExcelReadArray($oExcel, 14, 3, 10, 0); row, colum, number of cells, direction(0=right)" that changes in each instance. There is no big drama if this can't be done... as I said, I'm more curious.