Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bullet-Proofing your Excel Spreadsheets Tech Day 2013 Presentation.

Similar presentations


Presentation on theme: "Bullet-Proofing your Excel Spreadsheets Tech Day 2013 Presentation."— Presentation transcript:

1 Bullet-Proofing your Excel Spreadsheets Tech Day 2013 Presentation

2 Overview Data Protection Why Use Macros? Enabling Macros, and a Warning Recording a Macro Capturing a Formula in a Macro Resources Tech Day 11/20132

3 Data errors can occur in many ways: – manual entry – data from external sources – data transmission errors We can make better decisions if we can detect and prevent invalid data In Excel, this is called Data Validation Tech Day 12/20133

4 4 Select the cells/rows/columns that you want to validate, then

5 Tech Day 12/20135

6 Manipulate data Apply style and formatting Tech Day 12/20136

7 Manipulating research data Tech Day 11/20137

8 Classroom gradebook Tech Day 12/20138

9 9

10 To execute or work with macros, you must enable the Developer tab:, then Tech Day 12/201310

11 Most Excel installations have macro execution disabled by default Be careful if you enable macro execution – you are allowing code to run on your computer Tech Day 12/201311

12 Open sample excel file Tech Day 11/201312

13 Click on the “Developer” tab Tech Day 12/201313 or

14 Do you need your macro to be dependent upon coordinates, or relative? – Dependent upon coordinates – only works in coordinates recorded – Relative – dependent upon where cursor is Tech Day 12/201314 Dependent on coordinates Relative Reference

15 If want relative reference click “Relative Reference” Click “Record” Tech Day 12/201315

16 Tech Day 12/201316 Name your Macro Create shortcut for macro Click “OK”

17 Tech Day 12/201317

18 Click “Stop” when finished Tech Day 12/201318

19 When open Excel click either – “Macros” – Macros command (eg. Option + Command + A) Tech Day 12/201319 “Run”

20 Tech Day 11/201320

21 Tech Day 11/201321

22 Tech Day 11/201322

23 Tech Day 11/201323

24 Tech Day 11/201324

25 Tech Day 11/201325

26 Tech Day 11/201326

27 Tech Day 11/201327 Function Area(Length As Double, Width As Double) Area = Length * Width End Function

28 Tips on Data Validation – http://office.microsoft.com/en-us/excel-help/apply- data-validation-to-cells-HP010072600.aspx http://office.microsoft.com/en-us/excel-help/apply- data-validation-to-cells-HP010072600.aspx Microsoft Excel Recording Macros – http://office.microsoft.com/en-us/excel- help/overview-RZ102337714.aspx?CTT=1&section=1 http://office.microsoft.com/en-us/excel- help/overview-RZ102337714.aspx?CTT=1&section=1 Excel for Dummies – http://www.dummies.com/how-to/computers- software/ms-office/Excel/Excel-2013/Macros- Programming.html http://www.dummies.com/how-to/computers- software/ms-office/Excel/Excel-2013/Macros- Programming.html Tech Day 12/201328

29 Writing Your First VBA Function in Excel – http://www.fontstuff.com/vba/vbatut01.htm http://www.fontstuff.com/vba/vbatut01.htm Writing Your Own Functions In VBA – http://www.cpearson.com/excel/writingfunctionsi nvba.aspx http://www.cpearson.com/excel/writingfunctionsi nvba.aspx Tech Day 11/201329


Download ppt "Bullet-Proofing your Excel Spreadsheets Tech Day 2013 Presentation."

Similar presentations


Ads by Google