LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to call a sub from UserForm Module


Suppose I am dwelling in a general module and want to call up
subroutine "Test" located in a Userform1 module, provided the sub i
not qualified PRIVATE, I would use *Call Userform1.Test*

Now, how do I accomplish the same task if the call is made, not from
general module, but from a ClassModule? Call Userform1.Test fails i
this connection.

Thanks for any help.


Myle

--
Myle
-----------------------------------------------------------------------
Myles's Profile: http://www.excelforum.com/member.php...fo&userid=2874
View this thread: http://www.excelforum.com/showthread.php?threadid=52795

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro in excel to call a access module to run. [email protected] Excel Discussion (Misc queries) 0 April 23rd 07 08:59 PM
to call procedure in a worksheet in a module CAPTGNVR Excel Discussion (Misc queries) 4 January 30th 07 09:39 PM
Call a Module mb Excel Programming 2 October 26th 05 01:12 AM
Call to Re-Named Module [to match Sub() name] fails ? CRayF Excel Programming 4 September 26th 05 05:45 AM
Call other sub in the same module yangyh[_4_] Excel Programming 1 September 11th 05 09:24 AM


All times are GMT +1. The time now is 01:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"