Paul has attended:
Excel Advanced course
Excel VBA Intro Intermediate course
Excel Advanced - Formulas & Functions course
Power BI Modelling, Visualisation and Publishing course
UserForms
Hi,
How do I link a command button in Excel 2003 to a UserForm in VB? I can easily select Macros to run, but I want the command button to launch the interface
RE: UserForms
Hi Paul, thanks for your query. A command button on the worksheet needs to have a line of code attached to it to launch the interface. When you've drawn the button on the worksheet, stay in Design Mode, then double click on the button and add the following line of code
frmthenameofyouruserform.Show
Then return to the worksheet and come out of Design Mode thereby activating the button. It should now display your interface when clicked.
Hope this helps,
Anthony