vba

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

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

VBA

resolvedResolved · Low Priority · Version 2003

Jonathan has attended:
Excel VBA Intro Intermediate course

VBA

How can you tidy up code?

RE: VBA

Hi Jonathan

Sorry for the delay in answering this question.

When running code written in procedures the computer does not look for how tidy or ascetic the code is.

It only looks at whether the code is correct with no errors.

However when we edit code we usually like the code to be easily readable.

To this end I use indents to tidy up the code. Every new routine in side a procedure is indented for easy reading.

The use of comments also assists in the understanding of the procedures

Hope this helps

Carlos

Wed 18 Feb 2009: 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:

Highlighting only Text cells

To select onlt text value cells in a spreadsheet, click on Edit-Go to(F5)


In the Go To dialog box, click Special.
In the Go To Special dialog box, select Constants.
Click OK.

View all Excel hints and tips


Server loaded in 0.09 secs.