Hi Hilary,
Thanks, this worked perfectly for check out and check in. Please do you know if there is a similar approach to marking a workflow task as complete so I that can add it as a rule to the button that does the check in? I'm using SharePoint 2007.
Regards,
Stan