Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() i`m kind of new to vb programming, so all help will be appreciated. Ive got a userform which i want to call from a sub, and run it, then want to call another sub and just run that. I was wondering how you would go about trying to call a userform (or sub within a userform). I tried the following Sub Main() deleteops 'delete ops userform1 ' call userform End Sub but it doesnt work for the userform Any ideas? thanks -- s_ali_hassa ----------------------------------------------------------------------- s_ali_hassan's Profile: http://www.excelforum.com/member.php...fo&userid=3532 View this thread: http://www.excelforum.com/showthread.php?threadid=55145 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
Userform1.show hope this helps! s_ali_hassan wrote: i`m kind of new to vb programming, so all help will be appreciated. Ive got a userform which i want to call from a sub, and run it, then i want to call another sub and just run that. I was wondering how you would go about trying to call a userform (or a sub within a userform). I tried the following Sub Main() deleteops 'delete ops userform1 ' call userform End Sub but it doesnt work for the userform Any ideas? thanks. -- s_ali_hassan ------------------------------------------------------------------------ s_ali_hassan's Profile: http://www.excelforum.com/member.php...o&userid=35325 View this thread: http://www.excelforum.com/showthread...hreadid=551457 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
What about.. UserForm1.Show Ken Johnson |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Userform1.Show
-- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "s_ali_hassan" wrote in message news:s_ali_hassan.29ci9c_1150210203.4301@excelforu m-nospam.com... i`m kind of new to vb programming, so all help will be appreciated. Ive got a userform which i want to call from a sub, and run it, then i want to call another sub and just run that. I was wondering how you would go about trying to call a userform (or a sub within a userform). I tried the following Sub Main() deleteops 'delete ops userform1 ' call userform End Sub but it doesnt work for the userform Any ideas? thanks. -- s_ali_hassan ------------------------------------------------------------------------ s_ali_hassan's Profile: http://www.excelforum.com/member.php...o&userid=35325 View this thread: http://www.excelforum.com/showthread...hreadid=551457 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() nice one! tried it, and it worked. -- s_ali_hassan ------------------------------------------------------------------------ s_ali_hassan's Profile: http://www.excelforum.com/member.php...o&userid=35325 View this thread: http://www.excelforum.com/showthread...hreadid=551457 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calling a Userform from a Predefined Variable | Excel Worksheet Functions | |||
Calling function from a userform | Excel Discussion (Misc queries) | |||
Calling macro from UserForm | Excel Programming | |||
Button on Userform calling GetOpenFilename | Excel Programming | |||
VBA question - Calling txt file from userform | Excel Programming |