sql server 2008

  1. S

    Inserting values into SQL SERVER table via VBA.

    Suppose I have a table in Excel with two columns (Name, Rate) (say, this table's name tExcel). Table starts at cell (2,1), and Date is static (in cell (1,1)) I want to insert those values into SQL Server 2008 tRate table with following logic insert tRate(ID, Rate, Date) select s.ObjectID...
  2. J

    Option Explicit causes error with CopyFromRecordset?!? Excel 2007, SQL Server 2008 R2

    I've encountered an odd error in an Excel 2007 VBA sub. The code queries a SQL Server 2008 R2 database, then copies the recordset to a worksheet in the Excel workbook. If I don't specify Option Explicit, it works fine, but if I add Option Explicit I get the error "Class does not support...
  3. A

    SQL Server 2008R2 and SSIS

    Hello, I realize it is possible, but it will be my first time, can anyone point me to examples or the correct direction? I've searched but some sites seem kinda sketchy. I trust advice and like the people on this site. I will be uploading multiple spreadsheets of Excel data into SQLServer...
  4. L

    Notifying Excel 2007 about changes in a database in SQL Server 2008 R2

    I have a lot of trouble using Excel 2007 together with SQL server 2008 R2. I need to share data between two or more workbooks, and I want to do this through a SQL database (placed in SQL Server 2008 R2) on a remote server. I use VBA with ADO and SQL Server Native Client OLE DB provider as data...
  5. J

    Excel 2007 - Data Connections - VBA to Loop through sheets amending SQL

    Hello, I regularly find myself manually changing the SQL in many different worksheets owing to a minor change in the criteria. For each sheet, the SQL is the same other than for the filtered field, Specialty. So: one sheet for Cardiology, one for Ophthalmology etc. I think this must be...
  6. Q

    Excel from/to SQL Server 2008

    Hi, I downloded a SQL table from my accounting system database into Excel 2007. I have updated a large number of fields and now I want to update the source table by transferring my Excel worksheet back to SQL Server. Cannot see how to do this. Can anyone help?

Watch MrExcel Video

This Week's Hot Topics

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
Top