Disable Data Connection

S_W_Langdon

New Member
Joined
Feb 5, 2018
Messages
13
Hey everyone,

Hoping someone on here can help

I am using a data connection from an Access Database to populate a number of tables in excel. The connection works great except that whenever the excel spreadsheet is open no one else is able to make changes to the database.

People who access the spreadsheet only need to refresh it once to download the latest data, once they have done that there is no longer a need for it to be connected.

I have assigned a number of Macro's to help with the automation of the spreadsheet so

1. setup spreadsheet for new data
2. refresh all data tables
3. update all formula

I want to add a fourth into this of 'Disable all data connections' so that people can then continue to stay in the spreadsheet, without locking people out of the database.

Does anyone have any ideas of how to do this?
It feels like it should be simple, but my mind is drawing a blank
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top