Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default 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! *
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MACRO ACTIVATED AYTOMATICALLY Spiros Excel Discussion (Misc queries) 0 June 12th 08 07:25 AM
How do I fill a cell in a user form from a selection on same form? Terry Tipsy Excel Discussion (Misc queries) 4 June 11th 07 02:59 PM
MACRO ACTIVATED EVERY 5 SECONDS CC Excel Discussion (Misc queries) 1 May 4th 06 03:02 PM
help: master control macro and user form jasonsweeney[_20_] Excel Programming 1 January 26th 04 11:10 AM
Copy from User form to Sheet macro tas5tas Excel Programming 1 January 13th 04 03:54 AM


All times are GMT +1. The time now is 04:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"