什么是excel VBA组合框更改事件? [英] what is excel VBA combobox change event?

查看:1332
本文介绍了什么是excel VBA组合框更改事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的excel中写了一个VBA代码。我在Excel工作表中有combox框。
当用户选择comboxbox中的不同项目时,我想运行特定的子程序。



当组合框更新时是否有任何事件? p>

感谢您提前寻求帮助

解决方案


  • 进入你的工作表的代码模块。

  • 更改是默认事件,但如果您需要另一个事件,可用事件位于另一个下拉列表中




I am writing a VBA code in my excel. I have combox box in my worksheet in excel. I want to run specific sub-routine when different item in the comboxbox is selected by user.

Is there any event when the combobox is updated ?

Thank you for help in advance

解决方案

  • Go into the code module for your sheet.
  • Select your combobox from the objects dropdown.
  • Change is the default event but if you needed another event the available events are in the other drop down to the right.

这篇关于什么是excel VBA组合框更改事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆