Skip to content
Advertisement

Tag: excel

How to run a SQL query on an Excel table?

I’m trying to create a sub-table from another table of all the last name fields sorted A-Z which have a phone number field that isn’t null. I could do this pretty easy with SQL, but I have no clue how to go about running a SQL query within Excel. I’m tempted to import the data into postgresql and just query

How can a blank MS Access database be created using VBA?

I’m a total noob trying to create a blank MS Access database using VBA in Excel. I want to name the new database “tblImport”. This is the code I´m using: I get the following error message: “Run Time Error 3001: Application Defined or Object Defined Error” What can I do? Answer The name of the locale constant in the CreateDatabase

Excel 2003 send date parameters to SQL query

I have a few worksheets that use sql queries to retrieve data. I would like all of these sheets to query data based on the same date range entered by a user in excel. eg. I would enter somewhere in a form or in a cell a date range and retrieve the value in sql to obtain data based on

Advertisement