Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Automation Errors

Hello,

I have created some macros in the VB editor. Part of the macros go out
and get a selection of rows and columns. The macro works fine on my
computer.

On another computer the macro refuses to open correctly saying
"Autoation Error, Unspecified Error". Once the macro is loaded I try
to run a routine and get the same error for a line that has a line like
Set ARange = Sheet1.Range ("A1", "B2") and end up getting the same
error.

Is the OLE ready to go when Excel is launched or does it have to be
enabled somehow?

Thanks.

Mike

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Automation Errors

It is ready to go. The error is probably a combination of your code and the
environment you are operating in (on the other machine). Something like
this would be hard to debug without having access to the machine to try to
discover where the problem is. You might have to go to that machine and
start commenting out lines until the error goes away. As a start, I would
run it until I get an error, then go into the VBE and in the menu,
Tools=References and see if any reference is marked as MISSING. If so, you
need to fix that reference.

--
Regards,
Tom Ogilvy


"Mike" wrote in message
ups.com...
Hello,

I have created some macros in the VB editor. Part of the macros go out
and get a selection of rows and columns. The macro works fine on my
computer.

On another computer the macro refuses to open correctly saying
"Autoation Error, Unspecified Error". Once the macro is loaded I try
to run a routine and get the same error for a line that has a line like
Set ARange = Sheet1.Range ("A1", "B2") and end up getting the same
error.

Is the OLE ready to go when Excel is launched or does it have to be
enabled somehow?

Thanks.

Mike



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
FIX: Annoying inconsistent errors in Excel via Access automation [email protected] Excel Discussion (Misc queries) 0 September 23rd 08 01:36 PM
Excel Throwing Circular Errors When No Errors Exist MDW Excel Worksheet Functions 1 August 10th 06 02:15 PM
Unresolved Errors in IF Statements - Errors do not show in results Markthepain Excel Worksheet Functions 2 December 3rd 04 08:49 AM
Automation from VB6 Robert A. Boudra Excel Programming 2 November 16th 04 11:20 PM
Automation Rupal Vaibhav Excel Programming 0 December 12th 03 03:47 PM


All times are GMT +1. The time now is 07:55 AM.

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

About Us

"It's about Microsoft Excel"