最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

windows - Disable Browse option in excel programmatically VB6 - Stack Overflow

programmeradmin1浏览0评论

I am trying to achieve the following using VB6. Open an existing excel file at button click event and disable the File->Open->Browse option. To prevent users from opening any other file from the File explorer.

Currently, the user is not able to open another file after the file is selected from the Browse file explorer. Now I need that the file explorer to not open at all when File->Open is selected. I have tried different options like, trying to disable the Ribbon entirely(which is not ideal), and disable using the commandbars option, which doesnot work. I am trying to find an event that is triggered when the File->Open is selected. The event WorkBook_Open() is triggered after the file is selected from the Browse File explorer.

发布评论

评论列表(0)

  1. 暂无评论