Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want a generic way to show a UserForm, which I coded as
Public Sub displayForm(form As UserForm, mode As Integer) Debug.Assert mode = vbModal Or mode = vbModeless Load form form.Show mode End Sub The method fails,as the UserForm object does not support the Show method. My question is why does the 'actual' form, which *is* a UserForm, work? KeyMgtForm.Show vbModeless ----------- works fine So, is there another object that I can cast the UserForm to that will work? TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
100% cpu usage | Excel Discussion (Misc queries) | |||
Access from add_in userform to main template userform.... | Excel Programming | |||
Linking userform to userform in Excel 2003 | Excel Programming | |||
SQL - TOP 1 Usage | Excel Programming | |||
countif usage ? | Excel Programming |