Macros
How do I run a macro from a list box?
|
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 "Rinyma" wrote: How do I run a macro from a list box? |
All times are GMT +1. The time now is 02:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com