con

  1. R

    Server Prinicipal Security Error

    Greetings I am trying to extract data from SQL Server using Excel VBA. Below is the code which errors out @ the Rs.Open StrSQL, Con Sub DbConnection() Dim Con As ADODB.Connection Dim Rs As ADODB.Recordset Dim Fld As ADODB.Field Dim StrSQL As String Dim Wb As ThisWorkbook Dim Ws As Worksheet...
  2. A

    Formula excel con varias condiciones

    En una hoja1 tengo unos datos de apoyo, en A1, A2 y A3 los títulos; y en B1, B2 y B3, las cantidades. En la hoja2 unas operaciones con fórmulas. Quiero conseguir lo siguiente: En A1 (hoja2), mediante una fórmula que me incluya el título que se encuentra en A1 (hoja1), pero con las siguientes...
  3. A

    Trying to update multiple records on Access via Excel VBA

    I'm trying to update MULTIPLE records (field "category" = "PAINT") when another field (description) contains word "paint", in access record through Excel VBA. Below code doesn't through any error. But no data is updating. The sql statement is working fine when I check in directly on Access...
  4. D

    Connect Excel to SQL developer without client installed

    Hi All, I have successfully connected excel to SQL developer using the below VBA code. I have oracle client and oracle dc drive in my machine. Dim con As ADODB.connection Dim rs As ADODB.Recordset Dim Cmd As New ADODB.Command Dim query As String Dim strsql As String Dim a As Integer 'Dim db...
  5. D

    How to split string using VBA?

    For example, I have following string <tbody> SPLICE 3_CON 195_INTERLOCK_18_BROWN I am trying to write VBA code to split it into five and put in different columns like: <tbody> SPLICE 3 CON 195 INTERLOCK 18 BROWN </tbody> </tbody> Any help is appreciated.
  6. R

    Running An Access Query Using Excel VBA

    Hello... I have the following code in my Excel VBE attached to a button that when clicked runs a query in Access then places the results into an Excel sheet It works perfectly, but only so far as I hard code the date of the data I want returned in the Access query. Naturally, I need the query...
  7. R

    Running An Access Query Using Excel VBA

    Hello... I have the following code in my Excel VBE attached to a button that when clicked runs a query in Access then places the results into an Excel sheet It works perfectly, but only so far as I hard code the date of the data I want returned in the Access query. Naturally, I need the query...
  8. J

    VBA Excel writing to SharePoint ADO

    Hello all, I have a coding solution that worked successfully for a number of months but then stopped. I'm self-taught / Google/Youtube taught so you may have to dumb it down for me. The code takes a few fields from Excel and writes it to a SharePoint list. The code still works fine for me and...
  9. S

    VE.NET code to VBA

    Hello all, I need some help from you to translate VB.NET code to VBA. This is the code I would like to have help with: Dim con As New OleDb.OleDbConnection Dim com As New OleDb.OleDbCommand Dim dr As Data.OleDb.OleDbDataReader con.Open() com.Connection...

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