ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RunTime Error "1004" QueryTable is Invalid (https://www.excelbanter.com/excel-programming/288601-runtime-error-1004-querytable-invalid.html)

Devendra[_3_]

RunTime Error "1004" QueryTable is Invalid
 
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

BrianB

RunTime Error "1004" QueryTable is Invalid
 
Shared code should usually be produced in the oldest version it will b
used in

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com