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

macros

ResolvedVersion 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

Excel tip:

##### displaying in Excel

When you get a series of hash symbols (####) appearing in some of your cells in a spreadsheet, this can make you think that you've make some kind of mistake.

This is a common misconception - what this actually means is that the cell is not wide enough to fully display the content of the cell.

All you need to do to see what is actually in the cell is to widen the column that the cell is in.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.12 secs.