sconnect

  1. J

    Can anyone figure out or explain why this code doesnt work? (passing SQL string)

    Hi, cant figure out whats wrong here: This Works with the following SQL string in cell P9 SELECT * From [DataSheet$] WHERE Region='UK' But it fails with this, where the Region is in cell P7 SELECT * From [DataSheet$] WHERE Region='" & REGION1 & "' Sub Test2() Dim REGION1 As String, SQLSTR As...
  2. J

    Using ADO to query other Excel Workbooks - Questions

    Hi, i found this great code which allows you to query the current workbook, and also closed workbooks. Allows you to SQL query which i am finding a better way of "advanced filtering" data in the same workbook. Are there any limitations to this? Also if using ADO on an external workbook (closed...
  3. D

    VB Script message box help

    Hi Everyone, I wonder if you can help. I have a hta file which loads in a directory of files from a database. When the user clicks the select box (dir2) I want a message box to display what option they selected. Can anyone help. This is my code: <html> <head> <title></title>...

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