adding additional items macro

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

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Adding additional items to a macro

Adding additional items to a macro

resolvedResolved · Low Priority · Version 2003

Sarah has attended:
Excel VBA Intro Intermediate course

Adding additional items to a macro

Once you have finished recording a macro if there any way of adding in further functionality which has been recorded or would you have to write in the code manually in the visual basic editor?

RE: Adding additional items to a macro

Hi Sarah

Thank you for your question

Generally to add further functionality to a macro you would have to edit the code in the VBE.

However, if the new actions follow on after those in the first macro, simply record them as a second macro and the in the VBE create a procedure that calls the 2 macros sequentially

e.g.

Call Macro1
Call Macro2

Regards

Stephen

Fri 28 Aug 2009: Automatically marked as resolved.

 

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:

Colouring cells containing formulas

Cells in a worksheet can contain values or they can contain formulas. You may wish to identify all the cells in your worksheet that contain formulas by colouring those cells.

Follow these steps:
1. Choose Edit > Go To menu, or press either F5 or Ctrl+G. Excel displays the Go To dialog box.
2. Click Special. Excel displays the Go To Special dialog box.
3. Select the Formulas radio button option.
4. Select OK.

At this point, every formula cell in the worksheet is selected, and those cells can be coloured formatted as desired.

View all Excel hints and tips


Server loaded in 0.09 secs.