Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel query in a macro

I created a file residing on the network with multiple
queries pulling data from with the active worbook. These
queries run with a macro command button. This file and
its queries work on my PC, however when I copy it to
another users PC (using my network logon), access the
file, and attempt to run the macro, I get a "Compile
error: Can't find project or library". The debugger
highlights the Chr 'linefeed' entry. When I run the query
manually (without the macro), it runs properly and a re-
recorded macro on that process is exactly the same as the
original file, however, it will not run with a command
button macro.

What could be causing this error?

I am running Excel 2000 the other user runs Excel 2002.
I am on Windows 2000, they are on Windows XP

Thank you.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro query + excel 2003 Neil Holden Excel Discussion (Misc queries) 8 February 19th 10 11:34 AM
Macro to check data from excel list against access query and return value back to excel dreamkeeper Excel Worksheet Functions 0 October 31st 07 07:26 PM
another macro query - deleting a worksheet within a query DavidHawes Excel Discussion (Misc queries) 2 February 26th 07 10:05 AM
Proper method for Excel/Query/Macro reporting Laphan[_2_] Excel Programming 1 October 30th 03 12:59 PM
EXCEL: trigger web query from macro? Krick Excel Programming 0 August 5th 03 09:12 PM


All times are GMT +1. The time now is 08:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"