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.
我试图在 Excel 中隐藏定义的名称及其值,我成功隐藏了名称但值仍然出现,这是 VBA 代码。
Sub HideNames() Dim xName As Name For Each xName In Application.ActiveWorkbook.Names xName.Visible = False Next End Sub
我找到了解决方案,只是您需要保护工作表。