ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Shared Workbook flag? (https://www.excelbanter.com/excel-programming/354123-shared-workbook-flag.html)

Jörgen Ahrens

Shared Workbook flag?
 
How can I see if a workbook is Shared?
Is there a flag i can look at?

thanks for your help
jahrens



Jim Rech

Shared Workbook flag?
 
I don't know what kind of flag you mean but I don't think MS has documented
a way to detect whether a file is shared, short of opening it. Of course
there has to be something in the file that indicates this but you probably
don't want to guess.

--
Jim
"Jörgen Ahrens" wrote in message
...
| How can I see if a workbook is Shared?
| Is there a flag i can look at?
|
| thanks for your help
| jahrens
|
|



Dave Peterson

Shared Workbook flag?
 
Visually, you can see [Shared] in the title bar.

In code, you could check .MultiUserEditing in VBA's help.

"Jörgen Ahrens" wrote:

How can I see if a workbook is Shared?
Is there a flag i can look at?

thanks for your help
jahrens


--

Dave Peterson


All times are GMT +1. The time now is 10:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com