Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Running Script

Status
Not open for further replies.

TheOnlyBoxy

Technical User
Jul 5, 2004
8
GB
Is it possible for a macro to run script? reason, i can close my application from a button, but i would like to close it from a F key, say F5, which in turn needs to run the following script:-

CurrentDocument.modified=false
CurrentApplication.QUIT

any help would be mega appreciated
Cheers
JAMIE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top