ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   button in sheet (https://www.excelbanter.com/excel-programming/305312-re-button-sheet.html)

Tom Ogilvy

button in sheet
 
You need to use the specific userform name

Private Sub btnInicio_Click()
userform1.Show
End Sub

for example.

--
Regards,
Tom Ogilvy

"Joseph" wrote in message
...
hi.
i've added a button to a worksheet. this button should
show an userform, but it doesn't.
Private Sub btnInicio_Click()
userform.Show
End Sub
what am i doing wrong?
tia.





All times are GMT +1. The time now is 01:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com