ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   User Form activated by a macro (https://www.excelbanter.com/excel-programming/303157-user-form-activated-macro.html)

mxleite

User Form activated by a macro
 
I have a design shape in a worksheet which when clicked runs a macro. This macro should call a user form. How would be code like for activating the user form?

Thanks

Harald Staff

User Form activated by a macro
 
Try putting
Userform1.Show
in the macro

HTH. Best wishes Harald

"mxleite" skrev i melding
...
I have a design shape in a worksheet which when clicked runs a macro. This

macro should call a user form. How would be code like for activating the
user form?

Thanks




mxleite

User Form activated by a macro
 
It worked just fine. Thanks a lot

"Harald Staff" wrote:

Try putting
Userform1.Show
in the macro

HTH. Best wishes Harald

"mxleite" skrev i melding
...
I have a design shape in a worksheet which when clicked runs a macro. This

macro should call a user form. How would be code like for activating the
user form?

Thanks





Hank Scorpio

User Form activated by a macro
 
On Fri, 2 Jul 2004 13:51:01 -0700, "mxleite"
wrote:

I have a design shape in a worksheet which when clicked runs a macro. This macro should call a user form. How would be code like for activating the user form?


For example:

UserForm1.Show

Replace UserForm1 with whatever the form's real name is.

---------------------------------------------------------
Hank Scorpio
scorpionet who hates spam is at iprimus.com.au (You know what to do.)
* Please keep all replies in this Newsgroup. Thanks! *


All times are GMT +1. The time now is 12:23 PM.

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