
On the toolbar, click the Run Macro button (green triangle).Īlternatively, you can use one of the following shortcuts:.On the menu bar, click Run > Run Sub/UserForm.Place the cursor anywhere within the macro you want to execute and do one of the following:
#Create spin button excel code#
In the Code window on the right, you will see all the macros listed in the module.In the Project Explorer window on the left, double-click the module containing your macro to open it.Press Alt + F11 to launch the Visual Basic Editor.The good news is that it's a lot easier than you might expect :)
#Create spin button excel how to#
If you aim to become an Excel pro, then you should definitely know how to start a macro not only from Excel, but also from the Visual Basic Editor. Once the shortcut is assigned, simply press that key combination to run your macro. For example, if you assign Ctrl + f to a macro, you will lose the ability to call the Find and Replace dialog. It is recommended to always use uppercase key combinations for macros ( Ctrl + Shift + letter) not to override the default Excel shortcuts.
