Application.Statusbar not working as expected in Excel 2013

与世无争的帅哥 提交于 2019-12-20 04:51:29

问题


I have an application that uses Application.Statusbar to update the status bar with progress of the macro. This works fine in Excel 2007 and 2010 but it doesn't display correctly in Excel 2013.

The application executes correctly but the status bar is not updated.

Any ideas appreciated.


回答1:


Thanks Siddharth. The DoEvents hint was what i needed. I have never needed it for Excel 2007 or 2010 but something must have changed in 2013 so that I need to yield control.

Have added DoEvents and now works fine.



来源:https://stackoverflow.com/questions/20278177/application-statusbar-not-working-as-expected-in-excel-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!