New QueryTable?

G

Guest

Does anyone know how to use VB to create a QueryTable on a blank sheet?

The only way I'm able to create one is by using Data/Import External Data
command and querying a database.

Any ideas?
 
G

Guest

Did you check VBA help for "QueryTables"?
Under Methods, select ADD and see the examples for QueryTables.

Does that help?

Post back with more questions.

***********
Regards,
Ron

XL2002, WinXP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top