LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I make a commandbutton in Excel 'launch' a custom form?

I have created a customised form in Excel and want the command button in the
spreadsheet to 'launch' or 'activate' the customised form so that the user
can input data and perform a calculation on the form.
I cannot find anything describing how to do this; eg it seems that you need
to input a 'Private Sub CommandButton1_Click()' routine and set a condition
eg 'If CommandButton1.Caption = "OK" Then' but how do you reference or link
the click event to the userform. Do you use an 'activate' type command? How
do you reference the userform? Been looking everywhere for this simple thing.
Grateful for help.
 
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
how do i make a commandbutton run a macro?? Shax New Users to Excel 7 June 7th 06 05:16 PM
Is it possible to make a Button on a tool bar to launch an Add-in Wolf Excel Discussion (Misc queries) 1 June 24th 05 12:13 AM
How can I make a custom button in one Excel form to e-mail easily. Katydid Excel Programming 2 February 3rd 05 06:45 PM
how 2 launch user form .. mlm Excel Programming 3 February 18th 04 01:30 PM
Launch form from Array Matthew Roberts Excel Programming 3 January 12th 04 04:33 PM


All times are GMT +1. The time now is 06:32 AM.

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

About Us

"It's about Microsoft Excel"