SlideShare une entreprise Scribd logo
1  sur  9
WORKING WITH MACROS
Session Taught by Jennifer Garbett and Zahra Khushbakht
MACROS:
AN EXTREMELY USEFUL TOOL
Macros can make your work more efficient:
 Apply style and formatting.
 Manipulate data and text.
 Communicate with data sources (database, text files, etc.).
 Create entirely new documents.
 Any combination, in any order, of any of the above.
 Essentially… it can make your work easier and save you time! 
WHAT IS A MACRO?
Visual Basic for Applications (VBA) code
saved inside a document
http://www.howtogeek.com/162975/geek-school-learn-how-to-use-excel-macros-to-automate-tedious-tasks/
Guess What?
You do NOT
need to know coding
to record
or run Macros.
STEPS TO RECORDING A MACRO
1. Go to Developer > Code >
Record Macro.
2. Name the macro (short cut)
and click OK.
3. All actions will be recorded:
cell changes, formatting, etc.
4. Confirm Excel is in record mode,
Press Stop Recording when done.
5. Save file as macro enabled
template (XLTM)
http://www.howtogeek.com/162975/geek-school-learn-how-to-use-excel-macros-to-automate-tedious-tasks/
HOW TO RUN A MACRO
1. Go to Developer > Code > Macros >
Select Macro from List Names > Run.
2. OR You can use the short cut that
you chose to name your Macro with.
Example: [Ctrl] [Shift] [K]
3. You should see the results of your
Macro on the worksheet
TIPS AND TRICKS
 Don’t record one giant macro
 Record macros in small steps:
Easier to edit and manage
 Then include all macros together
WHY?
 If one part of the macro doesn’t
work, or needs to be updated…
 Just re-record that one part
 Easy Peasy!
 Press [Alt] [ 8] to view your Macros
 You can make a shortcut key to
easily access your Macro
NOW TRY IT YOURSELF…
Request your free Macro exercise: email Jennifer
 smiles4jenn@gmail.com
For extra practice:
 Try a simple skill-building exercise
 Created with step by step instructions
 Designed to successfully guide you through
 Feedback and support are available through
email or LinkedIn mail
ADDITIONAL RESOURCES
 http://chandoo.org/wp/2014/10/09/cp022-whats-a-macro-introduction-to-
excel-vba-macros-automation/
 http://www.howtogeek.com/162975/geek-school-learn-how-to-use-excel-
macros-to-automate-tedious-tasks/
Helpful Videos:
 https://www.youtube.com/watch?v=8HX2l5xeMjc
Helpful Websites for reviewing Excel Macros:
THANKS FOR JOINING US!

Contenu connexe

Tendances

ใบงานสำรวจตนเอง
ใบงานสำรวจตนเองใบงานสำรวจตนเอง
ใบงานสำรวจตนเอง
Panaphat Panpan
 
ใบงานสำรวจตนเอง
ใบงานสำรวจตนเองใบงานสำรวจตนเอง
ใบงานสำรวจตนเอง
Panaphat Panpan
 
Intro macros in Excel 2007
Intro macros in Excel 2007Intro macros in Excel 2007
Intro macros in Excel 2007
Hasrudin Tazep
 
Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type
kateridrex
 
Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type
kateridrex
 

Tendances (12)

ใบงานสำรวจตนเอง
ใบงานสำรวจตนเองใบงานสำรวจตนเอง
ใบงานสำรวจตนเอง
 
ใบงานสำรวจตนเอง
ใบงานสำรวจตนเองใบงานสำรวจตนเอง
ใบงานสำรวจตนเอง
 
VBA Tips
VBA TipsVBA Tips
VBA Tips
 
Outlook 2013 Lesson 3 Overview Presentation
Outlook 2013 Lesson 3 Overview PresentationOutlook 2013 Lesson 3 Overview Presentation
Outlook 2013 Lesson 3 Overview Presentation
 
Html Server Anchor Control VB
Html Server Anchor Control VBHtml Server Anchor Control VB
Html Server Anchor Control VB
 
Use outlook 2010 / 2013 best practices to achieve your personal goals
Use outlook 2010 / 2013 best practices to achieve your personal goalsUse outlook 2010 / 2013 best practices to achieve your personal goals
Use outlook 2010 / 2013 best practices to achieve your personal goals
 
Intro macros in Excel 2007
Intro macros in Excel 2007Intro macros in Excel 2007
Intro macros in Excel 2007
 
Outlook 2013 lesson 2 Overview presentation
Outlook 2013 lesson 2 Overview presentationOutlook 2013 lesson 2 Overview presentation
Outlook 2013 lesson 2 Overview presentation
 
Sttp 5 b blogger03 exercise
Sttp 5 b blogger03 exerciseSttp 5 b blogger03 exercise
Sttp 5 b blogger03 exercise
 
Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type
 
Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type Wd131 unit 6 module 4 the rules of type
Wd131 unit 6 module 4 the rules of type
 
HTML Emails in Rails 3
HTML Emails in Rails 3HTML Emails in Rails 3
HTML Emails in Rails 3
 

En vedette

Pivot table presentation
Pivot table presentationPivot table presentation
Pivot table presentation
Sha Tibnjn
 

En vedette (15)

How to enable macros in excel 2010
How to enable macros in excel 2010How to enable macros in excel 2010
How to enable macros in excel 2010
 
MACROS excel
MACROS excelMACROS excel
MACROS excel
 
Pivot Table | Statistics
Pivot Table | StatisticsPivot Table | Statistics
Pivot Table | Statistics
 
Cómo automatizar tareas rutinarias con excel macros
Cómo automatizar tareas rutinarias con excel macrosCómo automatizar tareas rutinarias con excel macros
Cómo automatizar tareas rutinarias con excel macros
 
Pivot Tables
Pivot TablesPivot Tables
Pivot Tables
 
How to use pivot table
How to use pivot tableHow to use pivot table
How to use pivot table
 
Pivot table
Pivot tablePivot table
Pivot table
 
Tutorial pivot table
Tutorial pivot tableTutorial pivot table
Tutorial pivot table
 
Pivot table presentation
Pivot table presentationPivot table presentation
Pivot table presentation
 
MS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & ChartsMS Excel Pivot Table Reports & Charts
MS Excel Pivot Table Reports & Charts
 
Introduction to microsoft excel 2007
Introduction to microsoft excel 2007Introduction to microsoft excel 2007
Introduction to microsoft excel 2007
 
Excel ppt
Excel pptExcel ppt
Excel ppt
 
Getting started with Microsoft Excel Macros
Getting started with Microsoft Excel MacrosGetting started with Microsoft Excel Macros
Getting started with Microsoft Excel Macros
 
Introduction To Excel 2007 Macros
Introduction To Excel 2007 MacrosIntroduction To Excel 2007 Macros
Introduction To Excel 2007 Macros
 
MS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATIONMS EXCEL PPT PRESENTATION
MS EXCEL PPT PRESENTATION
 

Similaire à Working with Excel Macros

0403-excel-macros-made-easy.pdf
0403-excel-macros-made-easy.pdf0403-excel-macros-made-easy.pdf
0403-excel-macros-made-easy.pdf
ABHISHEK MALIK
 
Recordingandrunningmacrosintheofficeapplication3
Recordingandrunningmacrosintheofficeapplication3Recordingandrunningmacrosintheofficeapplication3
Recordingandrunningmacrosintheofficeapplication3
Astrid yolanda
 

Similaire à Working with Excel Macros (20)

0403-excel-macros-made-easy.pdf
0403-excel-macros-made-easy.pdf0403-excel-macros-made-easy.pdf
0403-excel-macros-made-easy.pdf
 
An introduction to vba and macros
An introduction to vba and macrosAn introduction to vba and macros
An introduction to vba and macros
 
VBA
VBAVBA
VBA
 
Excel Vba Basic Tutorial 1
Excel Vba Basic Tutorial 1Excel Vba Basic Tutorial 1
Excel Vba Basic Tutorial 1
 
Using macros in microsoft excel part 1
Using macros in microsoft excel   part 1Using macros in microsoft excel   part 1
Using macros in microsoft excel part 1
 
27 e
27 e27 e
27 e
 
Excel 2007 Unit I
Excel 2007 Unit IExcel 2007 Unit I
Excel 2007 Unit I
 
Using macros in microsoft excel part 2
Using macros in microsoft excel   part 2Using macros in microsoft excel   part 2
Using macros in microsoft excel part 2
 
Mac2
Mac2Mac2
Mac2
 
Recordingandrunningmacrosintheofficeapplication3
Recordingandrunningmacrosintheofficeapplication3Recordingandrunningmacrosintheofficeapplication3
Recordingandrunningmacrosintheofficeapplication3
 
VBA - Macro For Ms.Excel
VBA - Macro For Ms.ExcelVBA - Macro For Ms.Excel
VBA - Macro For Ms.Excel
 
Recording and running macros in the office application
Recording and running macros in the office applicationRecording and running macros in the office application
Recording and running macros in the office application
 
Installing and Using Productivity Shortcuts
Installing and Using Productivity ShortcutsInstalling and Using Productivity Shortcuts
Installing and Using Productivity Shortcuts
 
Excel for QA - must know
Excel for QA - must knowExcel for QA - must know
Excel for QA - must know
 
XMetaL Macros for Non-Programmers
XMetaL Macros for Non-ProgrammersXMetaL Macros for Non-Programmers
XMetaL Macros for Non-Programmers
 
ExcelMacros.pptx
ExcelMacros.pptxExcelMacros.pptx
ExcelMacros.pptx
 
VT University Live Session 3
VT University Live Session 3VT University Live Session 3
VT University Live Session 3
 
Microsoft Word Power Shortcuts & Tips (Part-2)
Microsoft Word Power Shortcuts & Tips (Part-2)Microsoft Word Power Shortcuts & Tips (Part-2)
Microsoft Word Power Shortcuts & Tips (Part-2)
 
TFI Leverage Excel 2007 (QAT) 011310
TFI Leverage Excel 2007 (QAT) 011310TFI Leverage Excel 2007 (QAT) 011310
TFI Leverage Excel 2007 (QAT) 011310
 
Getting Started with Excel Macros – Day #1
Getting Started with Excel Macros – Day #1Getting Started with Excel Macros – Day #1
Getting Started with Excel Macros – Day #1
 

Working with Excel Macros

  • 1. WORKING WITH MACROS Session Taught by Jennifer Garbett and Zahra Khushbakht
  • 2. MACROS: AN EXTREMELY USEFUL TOOL Macros can make your work more efficient:  Apply style and formatting.  Manipulate data and text.  Communicate with data sources (database, text files, etc.).  Create entirely new documents.  Any combination, in any order, of any of the above.  Essentially… it can make your work easier and save you time! 
  • 3. WHAT IS A MACRO? Visual Basic for Applications (VBA) code saved inside a document http://www.howtogeek.com/162975/geek-school-learn-how-to-use-excel-macros-to-automate-tedious-tasks/ Guess What? You do NOT need to know coding to record or run Macros.
  • 4. STEPS TO RECORDING A MACRO 1. Go to Developer > Code > Record Macro. 2. Name the macro (short cut) and click OK. 3. All actions will be recorded: cell changes, formatting, etc. 4. Confirm Excel is in record mode, Press Stop Recording when done. 5. Save file as macro enabled template (XLTM) http://www.howtogeek.com/162975/geek-school-learn-how-to-use-excel-macros-to-automate-tedious-tasks/
  • 5. HOW TO RUN A MACRO 1. Go to Developer > Code > Macros > Select Macro from List Names > Run. 2. OR You can use the short cut that you chose to name your Macro with. Example: [Ctrl] [Shift] [K] 3. You should see the results of your Macro on the worksheet
  • 6. TIPS AND TRICKS  Don’t record one giant macro  Record macros in small steps: Easier to edit and manage  Then include all macros together WHY?  If one part of the macro doesn’t work, or needs to be updated…  Just re-record that one part  Easy Peasy!  Press [Alt] [ 8] to view your Macros  You can make a shortcut key to easily access your Macro
  • 7. NOW TRY IT YOURSELF… Request your free Macro exercise: email Jennifer  smiles4jenn@gmail.com For extra practice:  Try a simple skill-building exercise  Created with step by step instructions  Designed to successfully guide you through  Feedback and support are available through email or LinkedIn mail
  • 8. ADDITIONAL RESOURCES  http://chandoo.org/wp/2014/10/09/cp022-whats-a-macro-introduction-to- excel-vba-macros-automation/  http://www.howtogeek.com/162975/geek-school-learn-how-to-use-excel- macros-to-automate-tedious-tasks/ Helpful Videos:  https://www.youtube.com/watch?v=8HX2l5xeMjc Helpful Websites for reviewing Excel Macros: