Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在设置列表框时遇到了一些麻烦。我希望我的用户表单有两个列表框(一个用于月份(jan-dec),一个用于年份(两位数)。我知道您必须将值用分号分隔,但我不确定我在哪里输入这个。
请协助!
Private Sub UserForm_Initialize() With Me.ListBox1 .Clear .AddItem "Jan", 0 .AddItem "Feb", 1 .AddItem "Mar", 2 'etc... End With End Sub