Sure.  I use a listbox, lstPerson, and the follosing
  t = lstPerson.ListIndex       ' Returns text of person in listbox clicked

  Select Case t
  Case "Abraham Lincoln": Call Abe's procedure
    etc
  End Select

Bart
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
jimiscaro
Sent: Monday, May 02, 2005 9:37 AM
To: [email protected]
Subject: [vbhelp] Running a Sub From an array list.

Good Morning.

Is it possible to store the names of functions or subs in an array or
table so that when the user clicks and makes a choice the named sub or
function executes?

thanks

Jim







'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links



 













'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to