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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
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,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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