How to keep a set of Excel ranges in sync with a set of database tables

markns

New Member
Joined
Jul 26, 2019
Messages
3
Hi folks,

I'm trying to find the best/least-kludgey way to keep a set of Excel ranges in sync with a set of database tables (can be SQL server or MySQL)

Here are the requirements:
  • It must be a one way sync, Excel -> database
  • It doesn't have to be an immediate sync, for example a macro running every 5 minutes is fine. But it should happen automatically, without a user clicking a button.
  • The state of the Excel table should completely replace the state of the database table, including inserts, updates and deletes.
  • There are multiple tables that need to be synced, so something reasonably generic.
Things I've considered:
Sadly nothing seems perfect. Is there anything I'm missing perhaps? Any advice gratefully received.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi, I was having a similar requirement, wanted one way sync from excel sheet to a central MS SQL db table and all updates to be pushed in a timely fashion to keep the SQL table updated. I failed to find a reliable solution and finally had to develop it myself. I think you can use it too. Let me know if interested.
 
Upvote 0
Hi, I was having a similar requirement, wanted one way sync from excel sheet to a central MS SQL db table and all updates to be pushed in a timely fashion to keep the SQL table updated. I failed to find a reliable solution and finally had to develop it myself. I think you can use it too. Let me know if interested.
Hello Anshipa, I am interested in pointers on your solution
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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