![]() |
PExcel AddIn hangs when trying to access data programatically
This problem is related to what is discussed in following post
http://groups.google.lk/group/micros...42fa51339b4677 What I developing is an excel add-in which transfer data between excel and a business application. The problem is if user click transfer button while he is editing the cell (Cursor is inside the cell) my code try to read the data from spreadsheet and it hangs. (Execution resume if the user ends editing) So Is there any way I can detect if a cell being edited and then warn the user or cancel editing programatically before executing the code that make the program hang. |
PExcel AddIn hangs when trying to access data programatically
Assuming this will not be running in the VBA environment, MS has advised
checking Application.Ready, but many report this does not work. Alternative is to check if a suitable menu item is disabled e.g FileOpen. NickHK wrote in message ps.com... This problem is related to what is discussed in following post http://groups.google.lk/group/micros...42fa51339b4677 What I developing is an excel add-in which transfer data between excel and a business application. The problem is if user click transfer button while he is editing the cell (Cursor is inside the cell) my code try to read the data from spreadsheet and it hangs. (Execution resume if the user ends editing) So Is there any way I can detect if a cell being edited and then warn the user or cancel editing programatically before executing the code that make the program hang. |
All times are GMT +1. The time now is 02:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com