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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking a button to a script

Status
Not open for further replies.

JimBlacklock

Technical User
Dec 10, 2002
1
GB
I've created a button in my spreadsheet with a name (ordering) & the text for the button (RESULTS). I've then written a script. In the script it says "Globals" under Objects and "ordering" under Script. When I click on the button nothing happens but if I open the script editor from the button properties and go into script, run current sub then it works. How can I connect the button to the script so that pressing the button works ?

Jim Blacklock
 
Dear Sir,
You must put the script under ordering->Click event.
Check to make sure this is the case.

Best Wishes
Merry Christmas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top