Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2004

Tip: Looking for answers? Try searching our database.

Macros

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rinyma - 29 Nov 2004 23:55 GMT
How do I run a macro from a list box?
LanceB - 30 Nov 2004 15:39 GMT
Assuming your listbox contained a,b,c,d as entries

Private Sub ListBox1_Change()
x = ListBox1.Value

Select Case x

 Case "a"
   "your routine"
 Case "b"
  "your routine"
 Case "c"
  "your routine"
 Case "d"
  "your routine"
   
 End Select
 


End Sub

> How do I run a macro from a list box?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.