Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Only one user @ a time?

Is there a way to make it so that only one person can have
the workbook open at a time?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Only one user @ a time?

When a second person opens the workbook, it is opened read-only. You can look for this property in a workbook open event - and if true - close the workbook immediately.
It won't stop someone from making a copy and opening it independantly though - you'll have to use login code or registry code to stop this

"Wandering Mage" wrote:

Is there a way to make it so that only one person can have
the workbook open at a time?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Only one user @ a time?

Hi
another problem with a VBA solution is that the user can simply disable
macros and your workbook will just open :-)

--
Regards
Frank Kabel
Frankfurt, Germany


Grey Newt wrote:
When a second person opens the workbook, it is opened read-only. You
can look for this property in a workbook open event - and if true -
close the workbook immediately. It won't stop someone from making a
copy and opening it independantly though - you'll have to use login
code or registry code to stop this

"Wandering Mage" wrote:

Is there a way to make it so that only one person can have
the workbook open at a time?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Only one user @ a time?

Very true :-(

"Frank Kabel" wrote:

Hi
another problem with a VBA solution is that the user can simply disable
macros and your workbook will just open :-)

--
Regards
Frank Kabel
Frankfurt, Germany


Grey Newt wrote:
When a second person opens the workbook, it is opened read-only. You
can look for this property in a workbook open event - and if true -
close the workbook immediately. It won't stop someone from making a
copy and opening it independantly though - you'll have to use login
code or registry code to stop this

"Wandering Mage" wrote:

Is there a way to make it so that only one person can have
the workbook open at a time?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User name , date and time Rod Excel Discussion (Misc queries) 2 December 26th 07 01:03 AM
Multiple user Time tracking Darren Excel Discussion (Misc queries) 0 December 11th 07 06:39 PM
User time input Renegade40 Excel Worksheet Functions 12 July 5th 07 12:56 AM
run time error 1004 for other user [email protected] Excel Discussion (Misc queries) 1 January 26th 06 09:42 AM
Insert Row-First time user Barelywild Excel Discussion (Misc queries) 3 October 13th 05 05:21 PM


All times are GMT +1. The time now is 05:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"