E
Erik Foreman
I use the line
XLwkb.ExclusiveAccess()
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
confirm.
I tried
XLwkb.ExclusiveAccess() = True
and that did not work.
I tried
XLwkb.ExclusiveAccess(True)
and
XLwkb.ExclusiveAccess(1)
both those said invalid number of parameters.
XLwkb.ExclusiveAccess()
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
confirm.
I tried
XLwkb.ExclusiveAccess() = True
and that did not work.
I tried
XLwkb.ExclusiveAccess(True)
and
XLwkb.ExclusiveAccess(1)
both those said invalid number of parameters.