【发布时间】:2016-10-21 19:44:57
【问题描述】:
为什么这段代码被缩短到 1 行,代码可以工作但想整合它。
'If active sheet has the code name below then exit this sub
If ActiveSheet.CodeName = "VPL" Then Exit Sub
If ActiveSheet.CodeName = "VBA_BlankBidSheet" Then Exit Sub
If ActiveSheet.CodeName = "VBA_BlankOptionSheet" Then Exit Sub
If ActiveSheet.CodeName = "VBA_Dropdowns" Then Exit Sub
【问题讨论】: