+ Reply to Thread
Results 1 to 3 of 3

How to determine an opened sheet( Read Only)

Hybrid View

  1. #1
    TTD
    Guest

    How to determine an opened sheet( Read Only)

    Hi,

    when someone opens a workbook which already was opened by someone else, the
    person gets a dialogbox, inwhich (s)he can select 'read only'.

    But when the user opens the workbook through a script, the user is not
    warned.

    I want to stop the script if the opened workbook was already opened by
    someone else.

    How do I determine this?

    Thanks



  2. #2
    Tom Ogilvy
    Guest

    Re: How to determine an opened sheet( Read Only)

    http://support.microsoft.com?kbid=138621
    XL: Macro Code to Check Whether a File Is Already Open

    http://support.microsoft.com?kbid=291295
    XL2002: Macro Code to Check Whether a File Is Already Open

    http://support.microsoft.com?kbid=213383
    XL2000: Macro Code to Check Whether a File Is Already Open

    http://support.microsoft.com?kbid=184982
    WD97: VBA Function to Check If File or Document Is Open
    --
    Regards,
    Tom Ogilvy


    "TTD" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > when someone opens a workbook which already was opened by someone else,

    the
    > person gets a dialogbox, inwhich (s)he can select 'read only'.
    >
    > But when the user opens the workbook through a script, the user is not
    > warned.
    >
    > I want to stop the script if the opened workbook was already opened by
    > someone else.
    >
    > How do I determine this?
    >
    > Thanks
    >
    >




  3. #3
    TTD
    Guest

    Re: How to determine an opened sheet( Read Only)

    Thanks Tom.




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1