+ Reply to Thread
Results 1 to 2 of 2

Connection to workbooks in use by another user

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    erie
    MS-Off Ver
    Excel 2010
    Posts
    1

    Connection to workbooks in use by another user

    Hello,

    I have one workbook running a form at a terminal for employees to scan in parts. this data is then entered into this workbook.

    On another computer i have a second workbook that will import the data from the first using a workbook data connection. It is using the JET OLEDB 12 provider.

    The problem is that when this second workbook tries to access the data, if the first sheet is open, the import popup will flash on the screen a few times and then the first sheet will be opened in my second workbook as a read only file. the data is imported correctly but i would like the import function not to open the first sheet in my second users screen.

    Is there any way to import the data off of the first workbook without having excel open the first workbook as a read-only file in the second workbook?

    the OLEDB script is as follows (replaced the file name but it is on the network, both workbooks are in the same folder on the network btw):

    Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=S:\filename.xlsm;Mode=Share Deny Write;Extended Properties="HDR=YES;";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Engine Type=35;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False;Jet OLEDB:Bypass UserInfo Validation=False

    Sorry if that was difficult to follow. i cant really demonstrate the problem without the network. also i was not sure if there was a better way to post the script since its not really "code".

    Is there a better way to import data from another excel sheet without "disturbing it" / opening it that i am missing?

    Thank you for the help

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: Connection to workbooks in use by another user

    Can set it up in a power pivot to refresh the data that way.
    Similar to what you are doing now but it will not open the first document and then you can use a pivot table view or multiple even to have reports or lists ready on refresh.

    Or you can link directly =A1 of the other workbook and then make an entire sheet link directly to it.
    If you go this route, I would recommend opening both, only link the same area as the data that is in the sheet + say 1000 rows. Then the user that opens the second (Sounds like you) would need to extend that row count accordingly making sure there are always a set of rows at the bottom that are nothing but 0's....
    When you open the linked sheet it will ask if you want to Update, simply say yes (As long as it is a direct link, not a formula to pull IF for example, it will update to the last save)

    Those are the 2 options I know of and I prefer PPivot over the other, but it does require a bit of setup (Worth it) especially when linking multiple sources. If it is just the one, you should be able to just set up the one source and start making pivots out of it.

    Cheers -
    ELeGault
    -If you think you are done, Start over - ELeGault

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Data Connection of one excel with two different workbooks
    By Arunkumark in forum Excel General
    Replies: 0
    Last Post: 05-29-2014, 08:06 AM
  2. ODBC Connection to OPEN Workbooks
    By hawkwind in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-15-2013, 12:09 PM
  3. Excel 2007 : connection two workbooks
    By ALEZI in forum Excel General
    Replies: 2
    Last Post: 06-02-2010, 05:31 AM
  4. User Form Connection
    By Benjamin2008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2010, 02:26 PM
  5. Shared Workbooks Losing Connection
    By kscott in forum Excel General
    Replies: 1
    Last Post: 02-25-2009, 05:55 PM

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