+ Reply to Thread
Results 1 to 3 of 3

Opening a workbook already open by another user

  1. #1
    Registered User
    Join Date
    11-22-2010
    Location
    Nottingham, Sheffield
    MS-Off Ver
    Excel 97
    Posts
    4

    Opening a workbook already open by another user

    Hi,

    Firstly thanks for the help I've already had, just have another question if I can be so cheeky.

    The macro below copies data from 10 cells on the open workbook, opens a master workbook called 'test', pastes it into the next free row, saves 'test' , closes it and then clears out the cells from the original workbook so it can be done again. Problem is that as up to 30 people could be using the same 'test' workbook and there is the chance that it could be open already, is there any code that can be added to the current macro that would look to see if the workbook was already open then wait a few moments and try again if it found it so.

    Current macro:

    Please Login or Register  to view this content.

    Many thanks in advance
    Last edited by KASM; 11-24-2010 at 06:46 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Opening a workbook already open by another user

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    11-22-2010
    Location
    Nottingham, Sheffield
    MS-Off Ver
    Excel 97
    Posts
    4

    Re: Opening a workbook already open by another user

    My apologies, I've corrected my mistake.

+ 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