ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can I create a List Box that ties to a macro? (https://www.excelbanter.com/excel-programming/340795-can-i-create-list-box-ties-macro.html)

Linking to specific cells in pivot table

Can I create a List Box that ties to a macro?
 
Hi,

I'm just trying to create a list box that will trigger a macro depending on
what value in the list is selected. Is there an easy way to do this?

Thanks!

Robert

Bob Phillips[_6_]

Can I create a List Box that ties to a macro?
 
Where is the listbox? If in a form, or a control toolbox listbox, it has a
click event associated with it where you can run your code. If from a forms
toolbar, you can assign a macro.

--
HTH

Bob Phillips

"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I'm just trying to create a list box that will trigger a macro depending

on
what value in the list is selected. Is there an easy way to do this?

Thanks!

Robert





All times are GMT +1. The time now is 06:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com