+ Reply to Thread
Results 1 to 4 of 4

Update and release databse

  1. #1
    Registered User
    Join Date
    10-21-2010
    Location
    Portugal
    MS-Off Ver
    Office 365 & Google Sheets
    Posts
    23

    Update and release databse

    Hi all,

    I have a Excel file with multiple sheets, each sheet has a table that is being updated from a Microsoft Access database file.

    If I for instance open sheet3 and manually refresh table it's working, but if then I try to go to sheet4 and refresh the table its giving me a message saying that "..doesn't no exist..."; this message it's because the database is being use by sheet3.

    If I close the excel file and open it again and do the update starting by sheet3 instead of sheet2, sheet3 it's working and sheet2 it's not (giving me the same message).

    Is there any way with VBA code for example, to refresh data of each sheet at time, without the need to open and close the excel file again. Something that can refresh, close or release the database, and continue to next sheet?

    Thank you very much in advance!

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Update and release databse

    Check the data ribbon -> Connections. Connection properties include allow background refresh. Check this off and you won't be able to start one refresh until the other is completed. So a Refresh All should work under these circumstances.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    10-21-2010
    Location
    Portugal
    MS-Off Ver
    Office 365 & Google Sheets
    Posts
    23

    Re: Update and release databse

    I tried this solution and it doesn't work, either if the option is on or off.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Update and release databse

    The only other thing I can suggest, making sure background refresh is turned off is
    Please Login or Register  to view this content.

+ 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. excel books to central databse
    By gdallas in forum Access Tables & Databases
    Replies: 2
    Last Post: 05-28-2015, 08:37 AM
  2. Conn to web based oracle databse
    By ctguards1987 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-03-2014, 04:27 PM
  3. Simple databse but i dont know how...
    By lingga.47 in forum Excel General
    Replies: 7
    Last Post: 03-31-2013, 07:42 AM
  4. Employee Databse
    By Suppy in forum Excel General
    Replies: 2
    Last Post: 09-17-2012, 10:30 AM
  5. export & Update to MS Access databse
    By sparshsam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2009, 08:35 PM
  6. General smart tag and databse question
    By NISKim in forum Excel General
    Replies: 0
    Last Post: 05-08-2009, 01:41 PM
  7. Connecting to databse
    By rbalaji_it in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2007, 01:42 AM

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