Link to home
Start Free TrialLog in
Avatar of samandrew
samandrew

asked on

Exit word document and word

Hi
Can I add a button to a word document and when I press it it will close the document and the word application?
Thanks
Andy
Avatar of Chris Swinney
Chris Swinney
Flag of United States of America image

The x button at the top right corner does that.
Avatar of samandrew
samandrew

ASKER

Thanks for that Chris, should have said the operator will be using a touch screen, no mouse

Andy
A touch screen laptop? Even with touch screen they should still be able to move the cursor up to the x. If it has an on screen keyboard you can use alt + f4 and that will close the program.
Sorry chris
I am dealing with low paid workers and believe me the simpler the better. I have a button to save just need some code to close document and then word.
Thanks
Andy
ASKER CERTIFIED SOLUTION
Avatar of huacat
huacat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Huacat

Thank you worked a treat

Andy