sqlstr

  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. MacroAlan

    Select Case from RecordSet

    I have all the myriad parameters for some canned queries in a lookup table. In some of the instances, the Branch must be specified and others it is blank. In some instances I am looking whether the Customer exists or not. Set DB = CurrentDb() Set McP = DB.OpenRecordset("tbl_APAP_Param")...

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