macros

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

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

Macros

resolvedResolved · Low Priority · Version 2007

Anthony has attended:
Excel Intermediate course
Excel Advanced course

Macros

Can a Macro be limited by size?

RE: Macros

Hi Anthony

Thank you for your question

The short answer is no. A macro is essentially a procedure written in VBA. There is no practical limit to the size of a procedure.

However, it is better to split a problem down into a series of small tasks that need to be carried out in sequence. You then record separate macros for each task and then write a main macro that simply runs each of the smaller macros in turn

This simplifies the recording process and makes the macro easier to maintain

Regards

Stephen

Wed 1 Apr 2009: Automatically marked as resolved.


 

Excel tip:

The dual nature of toolbar buttons

Many toolbar buttons are dual purpose, though the two purposes are often linked in some way. For example, Align Left aligns a cell's contents to the left of the cell. However, hold down Shift and press the Align Left button: Excel aligns the cell contents to the right.
You may respond: So what? Well, you can reduce the number of buttons on your toolbar to make your screen less cluttered and allow more room for, perhaps, some of your own commands. After all, what's the point of an Align Right button when Shift+Align Left does the same thing?

View all Excel hints and tips


Server loaded in 0.1 secs.