sonic67
ISP
- Mar 11, 2006
- 16
I apologize but I'm new at writing scripts, can some one help or just point me at least in the right direction?
I'm trying to make a script that will pull information from more than one cell in excel and some how insert them as a variable and repeat until it hits a blank cell and then end. Did I also mention that the excel spread sheet name will change from time to time.
The reason I'm trying to automate this is because it can be hundreds values at a time and I'm really not that fast at typing please help.
Any help will be appreciated
Thanks,
Sample of what I'm trying to do:
proc main
transmit "ed-t0::cot-6-1-4::::,,,0,,,,,,,,,,,,,0 ;^M";Retrieve a variable from excel and insert it for example 6-1-4.
transmit "dlt-t0::cot-6-1-4;" ; Retrieve a variable from excel and insert it for example 6-1-4.
transmit "ed-t0::cot-6-1-4::::,,,1124,,,,,,,,,,,,,2;^M" ; Retrieve a variable from excel and insert it for example 6-1-4 and 1124.
transmit "ed-t0::cot-6-1-4;"; Retrieve a variable from excel and insert it for example 6-1-4.
;repeat until a blank cell in spreadsheet.
endproc
I'm trying to make a script that will pull information from more than one cell in excel and some how insert them as a variable and repeat until it hits a blank cell and then end. Did I also mention that the excel spread sheet name will change from time to time.
The reason I'm trying to automate this is because it can be hundreds values at a time and I'm really not that fast at typing please help.
Any help will be appreciated
Thanks,
Sample of what I'm trying to do:
proc main
transmit "ed-t0::cot-6-1-4::::,,,0,,,,,,,,,,,,,0 ;^M";Retrieve a variable from excel and insert it for example 6-1-4.
transmit "dlt-t0::cot-6-1-4;" ; Retrieve a variable from excel and insert it for example 6-1-4.
transmit "ed-t0::cot-6-1-4::::,,,1124,,,,,,,,,,,,,2;^M" ; Retrieve a variable from excel and insert it for example 6-1-4 and 1124.
transmit "ed-t0::cot-6-1-4;"; Retrieve a variable from excel and insert it for example 6-1-4.
;repeat until a blank cell in spreadsheet.
endproc