Hi Michael,
Take a look at the sys(1270) function.
HTH
>(I think I have seen this question before, but I can't find it now that I need it...)
>
>If you are in a text box, and a button is clicked on, is it possible to determine which button it was from the LostFocus of the text box?
>
>(I am trying to avoid some processing if 'Cancel' is chosen)
>
>TIA
>Mike Collins
>Contract Developer
kenweber
GCom2 Solutions
Microsoft Certified Professional