本示例使WPS演示在“文件”菜单上显示至多 6 个文件名。

Application.DisplayRecentFiles = True
RecentFiles.Maximum = 6