Hey I need help trying to carry out the following. N.B. Problem is if I change the $para1 = 0 it will display the error message but the +5V might be there in the document. So I think its with the global $para1 statement. I want to ctrl+f +5V if found do something. else display msgbox error. Func row1() ;+5V Global $para1 = Send("{CTRLDOWN}f{CTRLUP}{+}5V") if $para1 = 1 Then MouseClickDrag ( "LEFT", MouseGetPos(0), MouseGetPos(1), MouseGetPos(0) + $xdist , MouseGetPos(1)