excel vba

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

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

Excel VBA

resolvedResolved · Low Priority · Version Standard

simon has attended:
Excel VBA Intro Intermediate course

Excel VBA

How do you make the 'option explicit' statement remain at the top of the screen without typing it in?

Thanks

RE: Excel VBA - Option Explicit

That's easy!

menu >Tools >Options
Editor tab: check the box 'Require Variable Declaration'

Why this isn't mandatory in the language is a mystery...

/Roy

RE: Excel VBA - Option Explicit

Thanks Roy,

Simon

 

Training courses

 

Training information:

See also:

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:

Use the Format Painter to copy formatting more than once in Excel

The format painter tool provides a quick and easy way to copy formatting from one cell to another in Word.

The only problem is that if you click the Format Painter once to turn it on, you can only click and drag over a single cell or adjacent range of cells; then the Format Painter turns itself off automatically.

If you want to copy formatting to cells or groups of cells that are not adjacent to each other, double-click the Format Painter - this way you will be able to copy formatting to multiple cells.

When you have finished using Format Painter, press the Esc key or click on the Format Painter button once to turn it off.

View all Excel hints and tips


Server loaded in 0.09 secs.