SlideShare une entreprise Scribd logo
1  sur  10
Creating a Microsoft 2010 Excel
Macro
Lauraly DuBois
EDU 656 Technology Solutions for
JIT Training & Learning
Dr. Alicia Holland-Johnson
What is a macro
• A macro is a set of recorded instructions that
may be repeated using shortcut keys.
Why use a macro
• I use macros to quickly repeat keystrokes that
could take more time than I care to use to
complete a task.
Step 1: Create the Macro
Click on the Developer Category to reveal the Record Macro option
Step 2: Choose the macro type
Click on the ‘Use Relative References’ option
Step 3: Name & shortcut key
Type the name of the macro and assign a letter as the shortcut key
Step 4: Start Recording Macro
Click on the Record Macro option
Step 5: Record keystrokes
Now make the exact steps you want recorded in the macro
In this example, we will start in B1, copy B1 & C1
Then move down to B2 and paste to B2 & B2
Step 6: Stop Recording
Click on the ‘Stop Recording’ button
Step 7: Use Macro
Remember that you assigned the Ctrl + d buttons to this macro?
Place your cursor in the cell B2
Now press both the Ctrl and d keys on the keyboard at the same time
Notice the 2nd row is copied down to the 3rd row

Before

After

Contenu connexe

Tendances

Tendances (20)

Microsoft Excel - Macros
Microsoft Excel - MacrosMicrosoft Excel - Macros
Microsoft Excel - Macros
 
Vba introduction
Vba introductionVba introduction
Vba introduction
 
VBA - Macro For Ms.Excel
VBA - Macro For Ms.ExcelVBA - Macro For Ms.Excel
VBA - Macro For Ms.Excel
 
An introduction to vba and macros
An introduction to vba and macrosAn introduction to vba and macros
An introduction to vba and macros
 
E learning excel vba programming lesson 1
E learning excel vba programming  lesson 1E learning excel vba programming  lesson 1
E learning excel vba programming lesson 1
 
Part 3 elements of windows
Part 3  elements of windowsPart 3  elements of windows
Part 3 elements of windows
 
Introduction To Excel 2007 Macros
Introduction To Excel 2007 MacrosIntroduction To Excel 2007 Macros
Introduction To Excel 2007 Macros
 
Online Advance Excel & VBA Training in India
 Online Advance Excel & VBA Training in India Online Advance Excel & VBA Training in India
Online Advance Excel & VBA Training in India
 
E learning excel vba programming lesson 3
E learning excel vba programming  lesson 3E learning excel vba programming  lesson 3
E learning excel vba programming lesson 3
 
Tutorial: Photoshop Paths Explained
Tutorial: Photoshop Paths ExplainedTutorial: Photoshop Paths Explained
Tutorial: Photoshop Paths Explained
 
ms excel presentation...
ms excel presentation...ms excel presentation...
ms excel presentation...
 
Microsoft Word
Microsoft WordMicrosoft Word
Microsoft Word
 
Excel VBA programming basics
Excel VBA programming basicsExcel VBA programming basics
Excel VBA programming basics
 
Introduction to Excel VBA/Macros
Introduction to Excel VBA/MacrosIntroduction to Excel VBA/Macros
Introduction to Excel VBA/Macros
 
Vba
Vba Vba
Vba
 
Conditional formatting - Excel
Conditional formatting - ExcelConditional formatting - Excel
Conditional formatting - Excel
 
Macros excel
Macros excelMacros excel
Macros excel
 
Microsoft excel beginner
Microsoft excel beginnerMicrosoft excel beginner
Microsoft excel beginner
 
Macros en excel
Macros en excelMacros en excel
Macros en excel
 
Macros de excel
Macros de excelMacros de excel
Macros de excel
 

Similaire à Creating a Microsoft Excel Macro

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
 
Intro macros in Excel 2007
Intro macros in Excel 2007Intro macros in Excel 2007
Intro macros in Excel 2007
Hasrudin Tazep
 
AlphaTech Learning Objectives
AlphaTech Learning ObjectivesAlphaTech Learning Objectives
AlphaTech Learning Objectives
thinkict
 

Similaire à Creating a Microsoft Excel Macro (20)

Working with Excel Macros
Working with Excel MacrosWorking with Excel Macros
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
 
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
 
Recordingandrunningmacrosintheofficeapplication3
Recordingandrunningmacrosintheofficeapplication3Recordingandrunningmacrosintheofficeapplication3
Recordingandrunningmacrosintheofficeapplication3
 
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
 
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)
 
Top 20 Tips for Office 365 Productivity
Top 20 Tips for Office 365 ProductivityTop 20 Tips for Office 365 Productivity
Top 20 Tips for Office 365 Productivity
 
Mac2
Mac2Mac2
Mac2
 
Business 1
 Business 1 Business 1
Business 1
 
Imd 203 Questions
Imd 203 QuestionsImd 203 Questions
Imd 203 Questions
 
VBA
VBAVBA
VBA
 
Imd 203 Questions
Imd 203 QuestionsImd 203 Questions
Imd 203 Questions
 
Term 3 class8_2019-2020
Term 3 class8_2019-2020Term 3 class8_2019-2020
Term 3 class8_2019-2020
 
MS Word 6.pptx
MS Word 6.pptxMS Word 6.pptx
MS Word 6.pptx
 
Intro macros in Excel 2007
Intro macros in Excel 2007Intro macros in Excel 2007
Intro macros in Excel 2007
 
Excel 2007 Unit I
Excel 2007 Unit IExcel 2007 Unit I
Excel 2007 Unit I
 
XMetaL Macros for Non-Programmers
XMetaL Macros for Non-ProgrammersXMetaL Macros for Non-Programmers
XMetaL Macros for Non-Programmers
 
E learning excel vba programming lesson 5
E learning excel vba programming  lesson 5E learning excel vba programming  lesson 5
E learning excel vba programming lesson 5
 
AlphaTech Learning Objectives
AlphaTech Learning ObjectivesAlphaTech Learning Objectives
AlphaTech Learning Objectives
 
Forgot Outlook Email Password - How to Retrieve | Reset | Change Email Passwo...
Forgot Outlook Email Password - How to Retrieve | Reset | Change Email Passwo...Forgot Outlook Email Password - How to Retrieve | Reset | Change Email Passwo...
Forgot Outlook Email Password - How to Retrieve | Reset | Change Email Passwo...
 

Dernier

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Dernier (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 

Creating a Microsoft Excel Macro

  • 1. Creating a Microsoft 2010 Excel Macro Lauraly DuBois EDU 656 Technology Solutions for JIT Training & Learning Dr. Alicia Holland-Johnson
  • 2. What is a macro • A macro is a set of recorded instructions that may be repeated using shortcut keys.
  • 3. Why use a macro • I use macros to quickly repeat keystrokes that could take more time than I care to use to complete a task.
  • 4. Step 1: Create the Macro Click on the Developer Category to reveal the Record Macro option
  • 5. Step 2: Choose the macro type Click on the ‘Use Relative References’ option
  • 6. Step 3: Name & shortcut key Type the name of the macro and assign a letter as the shortcut key
  • 7. Step 4: Start Recording Macro Click on the Record Macro option
  • 8. Step 5: Record keystrokes Now make the exact steps you want recorded in the macro In this example, we will start in B1, copy B1 & C1 Then move down to B2 and paste to B2 & B2
  • 9. Step 6: Stop Recording Click on the ‘Stop Recording’ button
  • 10. Step 7: Use Macro Remember that you assigned the Ctrl + d buttons to this macro? Place your cursor in the cell B2 Now press both the Ctrl and d keys on the keyboard at the same time Notice the 2nd row is copied down to the 3rd row Before After