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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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