$ 0 0 Hi John,I changed the code as you suggested but still get the same error, however when I run the .dqy in Excel I get the attached error.