Excel VBA-创建新工作簿而不将其添加到跳转列表
是否可以在不将文件名添加到excel跳转列表的情况下创建新工作簿?您可以从Excel VBA-创建新工作簿而不将其添加到跳转列表,excel,vba,Excel,Vba,是否可以在不将文件名添加到excel跳转列表的情况下创建新工作簿?您可以从RecentFiles集合中删除工作簿的条目,如下所示: Dim r As RecentFile Dim wb As Workbook ' Change this to point to the workbook to be removed from the jump list Set wb = ThisWorkbook For Each r In Application.RecentFiles If r.Pa
RecentFiles
集合中删除工作簿的条目,如下所示:
Dim r As RecentFile
Dim wb As Workbook
' Change this to point to the workbook to be removed from the jump list
Set wb = ThisWorkbook
For Each r In Application.RecentFiles
If r.Path = wb.FullName Then
r.Delete
Exit For
End If
Next r