how to update an open excel using POI

北慕城南 提交于 2019-12-25 18:46:23

问题


Is there a way to update an excel which is already open on my system using Apache POI and also through vba code running on some other excel?


回答1:


The Apache POI library does not support reading, writing, or executing macros in an Excel document.

Apache stores an internal representation of the worksheet in its memory model. You will have data concurrency issues if you try to have two different applications writing to the same Excel file.



来源:https://stackoverflow.com/questions/22717331/how-to-update-an-open-excel-using-poi

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