option compare text
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

Option Compare Text

resolvedResolved · Low Priority · Version 2003

replyReply Fri 16 May 2008, 16:45Delegate James said...

James has attended:
Excel VBA Intro Intermediate course

Option Compare Text

Can an Option be used with in an individual sub?

For upcoming training course dates see: Pricing & availability

replyReply Tue 3 Jun 2008, 14:56Trainer Carlos said...

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

 

Please browse our web site to find out more about
vba excel course london and other Microsoft training courses.

Excel tip:

Create your own custom list on Excel 2010!

If you know how to use the auto-fill option on Excel then why not create your own customs lists?

The auto fill feature saves you time by allowing you to enter one of the list entries into a cell and then use your mouse to automatically drag the rest of the list into the cells below, above or to either side of the initial cell. When using your mouse to perform this task you will see a thin black cross appear at the bottom right hand side of the cell. Click, hold and drag to make the list appear.

Default lists include weekdays and months. To create your own list in Excel 2010 do the following;

>File
>Options
>Advanced
>Scroll right to the bottom of the page and you will see a buttom "edit custom lists", click this button
>enter your list in the list entries
>click add

Now try it out. Good luck.
>

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard