By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,261 Members | 1,317 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,261 IT Pros & Developers. It's quick & easy.

Unshare an Excel sheet with VB.Net

P: n/a
I use the line


to unshare the workbook and it works. the problem is it sends up a
prompt for confirmation. When I run this there will be noone around to
confirm it. how do we unshare the workbook without being prompted to

I tried
XLwkb.ExclusiveAccess() = True
and that did not work.
I tried
both those said invalid number of parameters.
*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Paul, thank you for this post! It allowed me to get around the prompting issue and now everything works great.


Posted via Groups
Mar 22 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.