Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting Form form Visual Basic...
I am quite the begginer here. After I create a form in the Excel's Visual
Basic, how do I insert that form into a worksheet, or have it auto-execute when workbook is opened. Thank you, Thomas |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting Form form Visual Basic...
Hi Thomas,
In the ThisWorkbook module, try: Sub Workbook_Open() UserForm1.Show End Sub Where Userform1 is the name of your userform. --- Regards, Norman "thomas" wrote in message ... I am quite the begginer here. After I create a form in the Excel's Visual Basic, how do I insert that form into a worksheet, or have it auto-execute when workbook is opened. Thank you, Thomas |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting Form form Visual Basic...
Use the workbook_Open event to show the form
Private Sub Workbook_Open() Userform1.Show End Sub this would go in the ThisWorkbook Module See Chip Pearson's page on events http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy "thomas" wrote in message ... I am quite the begginer here. After I create a form in the Excel's Visual Basic, how do I insert that form into a worksheet, or have it auto-execute when workbook is opened. Thank you, Thomas |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inserting Form form Visual Basic...
Thank you
"Norman Jones" wrote: Hi Thomas, In the ThisWorkbook module, try: Sub Workbook_Open() UserForm1.Show End Sub Where Userform1 is the name of your userform. --- Regards, Norman "thomas" wrote in message ... I am quite the begginer here. After I create a form in the Excel's Visual Basic, how do I insert that form into a worksheet, or have it auto-execute when workbook is opened. Thank you, Thomas |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
visual basic help Excel/word form filling in | Excel Discussion (Misc queries) | |||
Visual basic, form does not show date correctly.... | Excel Worksheet Functions | |||
visual basic user form date format dd/mm/yy not mm/dd/yy | Excel Discussion (Misc queries) | |||
Make a visual basic form fill a page | Excel Programming | |||
Using Visual Basic form to enter data | Excel Programming |