LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Option Explicit set at Application Level by Excel Add-in?

Missing references can have unexpected symptoms. Often what happens is that
the string manipulation functions, like Left(), Right(), Mid(), etc., will
seem to be broken, and you will get compile errors, unless you include a
prefix: Strings.Left(). This is a core VBA library, and it's not broken. But
it's like a canary keeled over in a coal mine, letting you know to check
other references.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


wrote in message
ups.com...
The mystery appears to be solved.

I went hunting for anything that looked out of place.

The Analysis Toolpack reference was "missing". Ticked ATP VBA addin in
Excel. Restart. No more errors in modules without "Option Explicit".
So, it WAS being caused by an addin (sorta).

No idea why it was throwing the undefined variable error instead of the
"can't find project or library" error. Any ideas why? Anyone else see
a missing reference manifest this way?



 
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
Option Explicit [email protected] Excel Discussion (Misc queries) 5 April 30th 08 11:19 PM
option explicit Dave F Excel Discussion (Misc queries) 2 September 5th 06 02:46 PM
Option Explicit Piranha[_18_] Excel Programming 5 July 6th 05 04:18 AM
Option Commands (Option Explicit / Option Base etc) - Scope Alan Excel Programming 8 November 1st 04 02:22 AM
Option Explicit Grace[_4_] Excel Programming 6 June 12th 04 04:28 PM


All times are GMT +1. The time now is 02:29 PM.

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"