Skip to content
Advertisement

Tag: ms-access

How to use custom VBA function in WHERE IN condition

I am trying to use a custom VBA function to populate the list for the WHERE IN function of an access SQL query however I can’t seem to get it working. A simplified version of the query is shown below The code for the getList() function is I have tried playing around with the quotes like missing the leading and

Access VBA Find Records using Search Critera in Recordset

I have an Access database connected to excel. I need to find records using Search criteria in recordset from Excel Table name in MS Access is MyTable with more than 10 columns with data User enters string data in Excel cell, let us assume Worksheets(“Sheet1”).Cells(1, 1) My need is, macro has to loop through any matching string in column7 and

Copy DAO recordset from Excel into Access table

I have searched endlessly for a solution to this but can’t figure it out at all. Any help would be massively appreciated. I currently have some Access VBA code which sets up a DAO recordset connection with a range in an excel worksheet. (I have avoided linking the spreadsheet as a linked table as I am unsure if you can

Advertisement