“删除”按钮在行栏的弹出菜单中丢失。如何找回它?

问题描述 投票:0回答:1

我不小心运行了这个宏:

Application.CommandBars("Row").FindControl(ID:=293).Delete

其中ID:= 293是右键单击行栏上的“删除”按钮。然后,我发现行栏中缺少“删除”:

enter image description here

如何重新显示“删除”?

excel vba
1个回答
0
投票

您可以使用以下方法重置行命令栏:

Application.CommandBars("Row").Reset
© www.soinside.com 2019 - 2024. All rights reserved.