简体   繁体   中英

when importing data from excel to vb.net file open problem

When importing data from excel to vb.net desktop application, Im having "file is open" error.

Excel file is at the remote pc. Excel file must open and I have to reach anytime.

How can I handle this problem?

如何制作本地副本并打开该副本?

When Excel opens a file, it requests exclusive access. You should be able to access the same file if, when you open it, you open it in read-only mode and you allow both read sharing and write sharing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM