02-03-2010, 07:19 PM
lef+ 663 19 w3
lef- 663 20 w3
int w4=act(win("Microsoft Excel - Tyraid Template [Read-Only]" "XLMAIN"))
lef 345 193 w4
;/exe 1
act "Excel"
ExcelSheet es.Init
rep
,Excel.Range r=es.ws.Application.Selection
,str s=r.Value
,out s
,if(s.len=0) break
,'D Cc
, Wait 3.0 s
,3.0
,lef 497 16 w3
,act w1
,lef+ 145 253 w1
,lef- 145 252 w1
,'Cv
,lef 544 247 w1928312016
,key D
Ok on the above code i got it to work except for going back to the original excel spreadsheet. It moves over copy and paste but will not go back to -- int w4=act(win("Microsoft Excel - Fee Receivables Template [Read-Only]" "XLMAIN")). Am I missing that somewhere.
lef- 663 20 w3
int w4=act(win("Microsoft Excel - Tyraid Template [Read-Only]" "XLMAIN"))
lef 345 193 w4
;/exe 1
act "Excel"
ExcelSheet es.Init
rep
,Excel.Range r=es.ws.Application.Selection
,str s=r.Value
,out s
,if(s.len=0) break
,'D Cc
, Wait 3.0 s
,3.0
,lef 497 16 w3
,act w1
,lef+ 145 253 w1
,lef- 145 252 w1
,'Cv
,lef 544 247 w1928312016
,key D
Ok on the above code i got it to work except for going back to the original excel spreadsheet. It moves over copy and paste but will not go back to -- int w4=act(win("Microsoft Excel - Fee Receivables Template [Read-Only]" "XLMAIN")). Am I missing that somewhere.