Let say I have a macro in Sheet1 that goes like this:
Private Sub CommandButton1_Click()
xxxxxxx
xxxxx
xxxx
End Sub
If I put CommandButton1 in Sheet2, how can I point the button to the Macro written in Sheet1?
Let say I have a macro in Sheet1 that goes like this:
Private Sub CommandButton1_Click()
xxxxxxx
xxxxx
xxxx
End Sub
If I put CommandButton1 in Sheet2, how can I point the button to the Macro written in Sheet1?
eithe refer to the full path sheet1!CommandButton1_Click or put your code in a module sheet rather than on Sheet1
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks