SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – Basics
David Oromaner
 

La actualidad más candente (20)

Excel Macro Magic
Excel Macro MagicExcel Macro Magic
Excel Macro Magic
 
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
 
VBA - Macro For Ms.Excel
VBA - Macro For Ms.ExcelVBA - Macro For Ms.Excel
VBA - Macro For Ms.Excel
 
Learn Excel Macro
Learn Excel Macro  Learn Excel Macro
Learn Excel Macro
 
Libre Office Writer Lesson 4: Working with tables and templates
Libre Office Writer Lesson 4: Working with tables and templatesLibre Office Writer Lesson 4: Working with tables and templates
Libre Office Writer Lesson 4: Working with tables and templates
 
Microsoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And FilteringMicrosoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And Filtering
 
Vba introduction
Vba introductionVba introduction
Vba introduction
 
Microsoft Excel - Macros
Microsoft Excel - MacrosMicrosoft Excel - Macros
Microsoft Excel - Macros
 
Unidad 1 - Curso Photoshop CS5 - Sena Virtual
Unidad 1 - Curso Photoshop CS5 - Sena VirtualUnidad 1 - Curso Photoshop CS5 - Sena Virtual
Unidad 1 - Curso Photoshop CS5 - Sena Virtual
 
Ms excel
Ms excelMs excel
Ms excel
 
An introduction to microsoft office 2007 lecture
An introduction to microsoft office 2007 lectureAn introduction to microsoft office 2007 lecture
An introduction to microsoft office 2007 lecture
 
Getting started with Microsoft Excel Macros
Getting started with Microsoft Excel MacrosGetting started with Microsoft Excel Macros
Getting started with Microsoft Excel Macros
 
Ms excel
Ms excelMs excel
Ms excel
 
Basics-of-microsoft-office-and-nudi-presentation-at-ATI-Mysore-by-Mohan-Kumar-G
Basics-of-microsoft-office-and-nudi-presentation-at-ATI-Mysore-by-Mohan-Kumar-GBasics-of-microsoft-office-and-nudi-presentation-at-ATI-Mysore-by-Mohan-Kumar-G
Basics-of-microsoft-office-and-nudi-presentation-at-ATI-Mysore-by-Mohan-Kumar-G
 
Excel macro
Excel macroExcel macro
Excel macro
 
Vba
Vba Vba
Vba
 
Excel Tutorials - Finding & Removing the Duplicate Values
Excel Tutorials - Finding & Removing the Duplicate ValuesExcel Tutorials - Finding & Removing the Duplicate Values
Excel Tutorials - Finding & Removing the Duplicate Values
 
Scratch Lesson 1 – Basics
Scratch Lesson 1 – BasicsScratch Lesson 1 – Basics
Scratch Lesson 1 – Basics
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
 
Presentation
PresentationPresentation
Presentation
 

Similar a 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
 

Similar a 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
 
An introduction to vba and macros
An introduction to vba and macrosAn introduction to vba and macros
An introduction to vba and macros
 
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
 

Último

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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
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
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

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