Excel Doesn't Complete Macro after Opening Another Workbook

前端 未结 5 1101
既然无缘
既然无缘 2021-01-17 11:02

I\'m trying to get VBA to fire the commands

sImportFilePath = Application.GetOpenFilename(FileFilter:= _
\"Excel Files (*.xls), *.xls\", Title:=\"Choose The          


        
5条回答
  •  南笙
    南笙 (楼主)
    2021-01-17 11:10

    Question did you have a line of code selecting multiple tabs anytime before this line of code? I have found that this is sort of like holding in the shift key the entire time they're selected. To resolve this I had the macro ungroup (single select) a tab and the macro began working then.

提交回复
热议问题