1

I want to query the table, which consists of a named range, from VBA using SQL.

name id
Alpha 1
Beta 2
Gamma 3

I want to perform a query like, select Name from table1 where id =3 in VBA

Can someone help with the connection string that needs to be used?

1 Answer 1

2

This puts it pretty well: http://vbadud.blogspot.com/2007/12/query-table-with-excel-as-data-source.html

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.