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

option compare text

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Option Compare Text

Option Compare Text

ResolvedVersion 2003

James has attended:
Excel VBA Intro Intermediate course

Option Compare Text

Can an Option be used with in an individual sub?

RE: Option Compare Text

James

The simple answer is NO

All Option Statements must appear at module level BEFORE any Procedures

Within a Workbook each Module can hold its own Option Statements that will be activated when the code in the Module is run

Hope this helps

Carlos

 

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:

Status Bar Functions

When using the SUM, MIN, MAX, AVERAGE and COUNT functions, the result of such calculations are displayed in the worksheet.

However, if a range of cells, containing numbers, is highlighted, and then a right-mouse click is performed at the bottom right side of the status bar, then the result of those functions will be displayed.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.