+ Reply to Thread
Results 1 to 2 of 2

Fileopen Logic

  1. #1
    Registered User
    Join Date
    09-16-2005
    Location
    Bangalore, India
    Posts
    47

    Question Fileopen Logic

    Hi,

    I've this piece of code written to always open the file in read-write mode (a shared file being used by multiple users at a time - Being used as a database).

    Could you please check.. improve the logic or the code or suggest better or simple methods? Thanks a ton

    "FolderName" contains the path to the file
    "WorkBookName" contains the actual file name

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.


    Thanks a lot again...
    Thanks,
    Baapi

  2. #2
    Registered User
    Join Date
    01-21-2004
    Location
    Liverpool
    MS-Off Ver
    2003
    Posts
    88
    You could shrink your code by using the below function and macro, This will not loop but you can adpate so it will loop.

    Excel does automatically tell you if the file is already open by other user when working on a network.

    I hope this helps you

    Function
    Please Login or Register  to view this content.
    Macro:
    Please Login or Register  to view this content.
    regards
    Paul
    http://www.frontlineuk.com
    FrontLineUK

+ 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