option explicit possible problem

Public Schedule Face-to-Face & Virtual Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Option Explicit possible problem

Option Explicit possible problem

resolvedResolved · Low Priority · Version 2003

Robert has attended:
Excel VBA Intro Intermediate course

Option Explicit possible problem

When writing code in today's course Option Explicit even though on did not seem to stop non existent variables being used.

Is this a problem of the machines used or is it a wider problem.

RE: Option Explicit possible problem

Hi Bob, thanks for your query. We are still investigating this and believe it to be a consequence of running two versions of Excel on the same machine. Some misspelt variables appear to be declared as variants when they should be trapped by Option Explicit. We believe this to be a problem for us on our training machines rather than an application error but if you spot it happening elsewhere let us know on the forum.

All the best,

Anthony

Tue 8 Feb 2011: Automatically marked as resolved.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

New to Excel 2010 - Sparklines!

Excel 2010 includes a new feature called Sparklines which are tiny charts that fit into a single cell and plot data in cells from the worksheet. There are a host of formatting and styles that can be applied to them and they are really quite interesting.

>insert
>sparklines
>Choose any style you want

You will be asked for the range and it will automatically select the cell your in to insert the sparklines.

View all Excel hints and tips


Server loaded in 0.07 secs.