Excel and SQL Server

john129er

New Member
Joined
Feb 4, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello, I'm new to Excel and the database that I use is SQL Server Management Studio. While I have found it incredibly helpful to pull data from my database into Excel, I have not thus far found a way to push data to my database from Excel.

While doing some research online, I found an Add-in created by someone that does exactly that (and more, I assume). But that Add-in comes with a price. Is there a way to push data to my SQL Server within Excel without spending money on the Add-in? Is pushing data to a database a native feature of Excel?

Thanks in advance.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How do you pull the data? ODBC?

Should just be as simple as using a ADODB connection once you have the connection string
 
Upvote 0
How do you pull the data? ODBC?

Should just be as simple as using a ADODB connection once you have the connection string
We pull the data using the Data Tab, select Get Data (on the far left), From Database, and then From SQL Server Database. I'll admit my ignorance. I don't know what OBDC is.
 
Upvote 0
We pull the data using the Data Tab, select Get Data (on the far left), From Database, and then From SQL Server Database. I'll admit my ignorance. I don't know what OBDC is.

If you can
Record a macro of you doing the above and post the code
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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