更新时间:2022-06-24 21:33:45
更改
op.Focus op.selectedIndex = 2
到
op.Value = period
@Jordan的答案已从评论移至社区Wiki
使用值而不是索引从HTML下拉列表中选择的VBA代码