Excel 2013 VBA: Change to the MDI interface of old
Posted on 2016-08-24
In Excel 2010 and earlier versions the Excel app was an MDI (Multiple Document Interface) and so hosted multiple workbook windows in the one application window. In Excel 2013 this changed and each workbook appears to open in a new session of Excel - even if they 'share' functionality like custom Ribbons.
Is there any way in an Excel 2013 window to show the ribbon & statusbar but minimise the workbook anymore ?
The reason I ask is that I have a long standing complex Excel addin that basically cycles through multiple workbooks and while doing so minimises all workbook windows and shows a dialog (userform) that shows the processing's progress.
Now under Excel 2010 (and previous) this worked perfectly: while the addin was processing all windows were minimised and the progress bar was shown. Under 2013 however it is messy - in order to show the progress bar it re-shows the workbook underneath - there seems no way to separate the two.
When I show my progress form I could use 'Application.visible = False' but I would rather not do this as it leaves the user with no ribbon , no status bar, no application icon in the Windows taskbar and therefore no clear idea of what program is running.
Any suggestions or advice would be much appreciated.