Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 12 Templates, Styles, and Macros by Mary Anne Poatsy, Keith Mulbery, Eric.

Similar presentations


Presentation on theme: "1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 12 Templates, Styles, and Macros by Mary Anne Poatsy, Keith Mulbery, Eric."— Presentation transcript:

1 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 12 Templates, Styles, and Macros by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams

2 Select a template Apply themes and backgrounds Apply cell styles Create and use a template Protect a cell, a worksheet, and a workbook Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 2

3 Create a macro Create macro buttons Set macro security Create a sub procedure Create a custom function Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 3

4 4 Template—partially completed document used as a model to create other documents Contains – Standard labels – Formulas – Formatting May contain little or no quantitative data

5 5 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

6 6 Theme—collection of formats – Coordinating colors – Fonts – Special effects Gives a consistent look with other workbooks used in a department or organization

7 7 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

8 8

9 Cell style—collection of format settings based on the current theme Provides a consistent appearance within a worksheet and among workbooks Control: – Font attributes – Borders and fill styles and colors – Vertical and horizontal cell alignment – Number formatting – Cell-protection settings 9 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

10 Cell Styles gallery predefined cell categories: – Good, Bad, and Neutral – Data and Model – Titles and Headings – Themed Cell Styles – Number Format 10 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

11 11 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

12 12 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Template creation guidelines: – Should contain formatted, descriptive labels, empty cells, and formulas – Avoid values in formulas; use cell references instead – Include data-validation settings

13 13 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Template creation guidelines (cont.): – Include template instructions – Apply appropriate template formatting – Give worksheets meaningful names

14 14 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Locked cell— prevents users from editing the contents or formatting cells in a protected worksheet Cells are not locked until the worksheet is protected Locking/unlocking cells has no effect if the worksheet has not been protected

15 15 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

16 16 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Protecting a worksheet protects only the worksheet Protect the entire workbook to prevent users from making unwanted changes Use a password to further protect against changes

17 17 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Macro—instructions that execute commands to automate repetitive or routine tasks Two methods – Using the Macro Recorder – Typing instructions using Visual Basic for Applications (VBA)

18 18 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Macro Recorder—records commands, keystrokes, and mouse clicks Macros not stored in Excel Workbook file format (.xlsx) Macros stored: – Excel Macro-Enabled Workbook (.xlsm) – Excel Binary Workbook (.xlsb) – Excel Macro-Enabled Template (.xltm)

19 19 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Accessing Macro Recorder: – From the View tab – From the Developer tab – From the status bar

20 20 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

21 21 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

22 22 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

23 23 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

24 24 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Visual Basic for Applications—programming language to enhance and automate functionality Visual Basic Editor: – Create – Edit – Execute – Debug Office application macros VBA macros: – Sub procedures – Custom functions

25 25 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

26 26 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

27 27 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

28 Workbooks can be standardized by using: – Templates – Themes – Styles Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 28

29 Protection can be applied to: – Cells – Worksheets – Workbooks Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 29

30 Macros can be created and assigned to buttons Macro security settings can be changed using the Trust Center dialog box Sub procedures and custom functions are created using VBA Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 30

31 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 31

32 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 32 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America.


Download ppt "1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Chapter 12 Templates, Styles, and Macros by Mary Anne Poatsy, Keith Mulbery, Eric."

Similar presentations


Ads by Google