Windows(ThisWorkbook.Name).Visible = True causes error on Excel's auto-recovered files

后端 未结 3 1063
故里飘歌
故里飘歌 2021-01-22 07:57

2 months ago I\'ve asked this question: Autosaved file error on Macro Enabled Excel file

Thanks to @YowE3K he referred me to Workbook_Open event as the problem was occur

3条回答
  •  借酒劲吻你
    2021-01-22 08:38

    In case of Win10-Excel 2016 combination WorkBook.Activate before WorkBook.Parent.Windows.(WoorkBook.Name).Visible = True

    Did the trick for error '9'

提交回复
热议问题