![]() |
#1
|
|||
|
|||
![]()
I am trying to create command button on a new toolbar which I click on and it opens a respective userforms.
I went through customise option ,but there is no specification on using it with forms.do i have to create a macro which will do a showform and attach a macro to it. your help will be appreciated. attached is the form which i try to open when clicked. |
#2
|
||||
|
||||
![]()
Yes, you need to create a simple macro which invokes a form. For example:
Code:
Sub ShowForm1() UserForm1.Show vbModal End Sub I hope this helps. P.S. If you want the form to be floating (that is, so you can return to your document without closing the form), just use vbModeless constant in Form.Show instead of vbModal used in the above example. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a menu automatically | clausm | CorelDRAW/Corel DESIGNER VBA | 1 | 30-03-2004 09:07 |
Creating executable for distribution with PhotoPaint 9 | pmj7 | Corel Photo-Paint CS | 0 | 17-11-2003 15:18 |
Creating New Folder | Haucer | Corel Photo-Paint CS | 1 | 23-10-2003 07:22 |
Creating a Static Name? | Jon Lorber | CorelDRAW/Corel DESIGNER VBA | 1 | 29-04-2003 20:57 |
Creating macros for CorelDraw 10 in CorelDraw 11 | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 1 | 14-03-2003 08:00 |