Event Handler for switching from other applications to Excel?

后端 未结 3 950
心在旅途
心在旅途 2020-12-19 09:42

I want to activate a workbook when switching from other applications. I\'m using Excel 2010.

In the ThisWorkbook object, I\'ve tried the following:

         


        
3条回答
  •  鱼传尺愫
    2020-12-19 10:33

    It's in an option under the Advanced Tab in the Options --> "Enable fill handle and cell drag-and-drop".

    It's not VBA but does exactly what you want.

提交回复
热议问题