ExcelVBA实现窗体二级下拉菜单

ExcelVBA实现窗体二级下拉菜单

首页维修大全综合更新时间:2023-04-21 06:05:50

ExcelVBA实现窗体二级下拉菜单

1FOR i=1 to 5 combobox1.add sheets("定义的名称").cells(1,i)next2select case combobox1.valuecase "上装"for i=1 to 100 if sheets("定义的名称").cells(i,1)="" then exit for combobox2.add sheets("定义的名称").cells(i,1)nextcalse "下装"for i=1 to 100 if sheets("定义的名称").cells(i,2)="" then exit for combobox2.add sheets("定义的名称").cells(i,2)next......

大家还看了
也许喜欢
更多栏目

© 2021 3dmxku.com,All Rights Reserved.