Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do you link a Macro to a CommandButton.
Right now when I click on the button in design mode it references a macro on the worksheet I am working on and it is trying to reference another Macro. The macro is stored in a different file in another directory. What is the file path to reference a Macro somewhere else? So far my code in the commandbutton looks like this, but it doesn't do anything when I click the button. I am missing some part of the path to find the Macro. Can anyone help me? Private Sub File_Updated_Click() Public Sub Fileupdate() End Sub Thank you for your help! Kristina |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Link embedded chart to a commandbutton? | Charts and Charting in Excel | |||
how do i make a commandbutton run a macro?? | New Users to Excel | |||
Commandbutton in UserForm to run Macro | Excel Programming | |||
Macro won't run from CommandButton | Excel Programming | |||
Code runs different in a commandbutton than a macro why? | Excel Programming |