excel courses - recording macros
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel courses - Recording Macros

excel courses - Recording Macros

resolvedResolved · Low Priority · Version Standard

replyReply Fri 14 Sep 2007, 16:28Delegate Atia said...

Atia has attended:
Excel Intermediate course

Recording Macros

Is there a limit to how complex a macro can be ie can you record construction of pivot tables and the subsequent formatting of these pivot tables?

For upcoming training course dates see: Pricing & availability

replyReply Tue 25 Sep 2007, 10:41Trainer Anthony said...

RE: Recording Macros

Hi Atia. Essentially, macros can be as complicated as you want them to be. The trick is to make the VBA code as "clean" and elegant as possible. You certainly can use macros to generate and reformat pivot tables, although ideally you need to do this within the Excel VBA environment itself as otherwise it can be extremely difficult just using the Macro recorder.

Hope this helps,

Anthony

 

Excel tip:

Checking if a calculation adheres to Order of Precedence

When writing formulas you must make sure that results will be calculated as you intended.

Excel adheres to the standard order of precedence for calculations. It calculates percentages, exponents, multiplication, and division in this order before calculating addition and subtraction.

For example, =7+5*3 results in an answer of 22, not 36.

To force a calculation to be completed before another calculations, place the section in parentheses: =(7+5)*3 will result in 36.

To check how excel is evaluating a formula, click on the cell and select the 'Tools' menu, select 'Formula Auditing' and click 'Evaluate Formula'

In the dialog box click on 'Evaluate' to watch as each part of the formula is successively calculated.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard