RunTime Error "1004" QueryTable is Invalid

D

Devendra

Hi,

I wrote a VB code automating Excel 2000. There is some
external data in my Excel sheet. While running this code
on my machine, its doing fine. BUT, while running on
another machine with Excel 97 its giving following error:

Runtime Error: 1004
QueryTable is Invalid.

All querytables are on Excel sheet itself I am just
opening the sheet through VB code and using the imported
data after refereshing the sheet through VB Code.

Thanks in advance,
Devendra
 

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