Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I created a userform called "Choose". I need to show this userform when I open the workbook. How is the code to do that? I tried writting in "This Workbook" something like: Dim Choose As UserForm Private Sub Workbook_Open() Application.Choose_Open End Sub I also need to called another userform called "Import" when clickin cmdProceed in Choose UserForm, I've tried this: Private Sub cmdProceed_Click() If OptionImport.Value = True Then UserForm.Initialize (Importing) Else If OptionExport.Value = True Then UserForm.Open (Exporting) End If End If 'Unload me End Sub Thanks -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I created a userform called "Choose". I need to show this userform when I open the workbook. How is the code to do that? I tried writting in "This Workbook" something like: Try with Private Sub Workbook_Open() Choose.Show End Sub I also need to called another userform called "Import" when clicking cmdProceed in Choose UserForm Thanks. Try Private Sub cmdProceed_Click() Import.Show End Sub if you just need to initialize it, as your code suggests, try with Load Import -- Regards, Juan Pablo González |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You have the right idea about where to call the form, but the way to d
it is: Private Sub Workbook_Open() Choose.Show End Sub - Piku -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stop showing end-user-agreement each time opening Excel | New Users to Excel | |||
opening a worksheet without showing excel components | Excel Worksheet Functions | |||
"Icons" not showing when opening up Chart Wizard in Excel 2003 | Charts and Charting in Excel | |||
Question for Experts: Opening workbook with workbook references | Excel Programming | |||
Easy Question - Opening a workbook | Excel Programming |