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

excel.advanced.course - macros

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel.advanced.course - Macros

excel.advanced.course - Macros

ResolvedVersion Standard

Kristina has attended:
Excel Advanced course

Macros

What is the difference between way the macros can be stored? e.g. this workbork etc...

RE: Macros

Kristina

Thanks for tour question.

"By default, when you create a macro for a Microsoft Excel worksheet, that macro works only on that worksheet. This behavior is okay as long the macro automates tasks that are unique to that worksheet. But have you ever found yourself recreating the same macro on more than one worksheet? If you have (and even if you haven't), you can copy your macros to a worksheet called personal.xls. From there, your macros become available to you whenever you start Excel, and you can run them against the data on any open worksheet.

Of course, you need to be careful here. You don't want to run macros at random, because doing so might corrupt your data and cost you time and money. But if you have macros that you can use in a variety of situations, using a personal.xls file can also save you time and money."....

read the rest of the article on

http://office.microsoft.com/en-us/excel/HA010872961033.aspx

regards

Best Training Team

RE: Macros

Hi Kristina

Thank you for your question regarding the way macros can be stored.

There are 2 major ways to store marcos. Depending on which one you choose, there will be different options available.

1. THE CURRENT WORKBOOK (this workbook)
When you choose the "This workbook" when defining the name for the macro, prior to recording it, the macro will be stored in the current workbook only. This means that you will only be able to access and run the macro when that workbook is open. You will be able to use the macro in other workbooks, but again, only if that workbook is open at the time.

2. PERSONAL MACRO WORKBOOK
When you store the macro in this area, Excel will store the macro in an area that can be accessed by excel at any time. This means that you can apply the macro to any workbook, at any time.

If you have any further questions or comments regarding Mrcosoft Excel macros, or any other Microsoft Office application, please add them to our forum.

Regards

Richard
Microsoft Office Specialist

Excel tip:

Create a hyperlink navigation sheet

In large files, it is often useful to have a front sheet with hyperlinks to the key databases and summary calculations in your spreadsheet. Hyperlinks can save you and (more importantly) those less familiar with your spreadsheet a great deal of pointless scrolling between and within sheets.



Hyperlinks appear as underlined text and can jump to any cell or range name in your file. You can also use hyperlinks to jump to other files.



To create a hyperlink to a location in the active workbook: (1) Select the cell that contains the text you want to use as the hyperlink and choose Insert|Hyperlink.(2)Click Place in this document.(3)Choose the sheet you want to link to or the range name from the list of "Defined Names".(4)If necessary, type the cell reference in the Type in the cell reference box. (5) Click OK.

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.1 secs.