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 2003

Ethel has attended:
Excel Advanced course

Macros

How do I copy a macro from another workbook?

RE: Macros

Hi Ethel

To copy a macro from another workbook you need both workbooks open. We will call them "MINE" and "OTHER"

1. Go to the Visual Basic Editor

2. In the Projects window you will see both workbooks and their objects including the modules.

3. Open the Module in the OTHER workbook where the code is written. Highlight the relevant code and copy.

4. Double click the target module in the MINE workbook. Click where you want the code to go and paste.

5. Close the OTHER workbook.

Hope this helps

Carlos

 

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:

Using the Quick Access Toolbar in Excel2010

The Quick Access Toolbar is included in virtually every Office product, including Outlook 2010, Word 2010, Excel 2010, and PowerPoint 2010.

You will find the Quick Access Toolbar in the top-left side of the window. To begin, click the Customize button (it's the little black arrow at the end of the toolbar).

Simply click the commands you want to include.

Virtually any command can be added to the Quick Access Toolbar. Click the More Commands option and a new window will open from where you can browse the commands including those not on the ribbon.

View all Excel hints and tips


Server loaded in 0.08 secs.