You are on page 1of 5

DEPARTMENT OF MANAGEMENT STUDIES

NALSAR UNIVERSITY OF LAW, HYDERABAD

Course Name: Excel Macros


(Course Code: AEM)
Credits 4
Faculty Name Prof. Tanveer kajla
E-mail tanveer.kajla@nalsar.ac.in
Academic Year and Semester

Course Description:
In this course students will enhance their current Excel files & automate their work with
VBA. The course will provide a methodology to reduce the manual routine tasks by the
clicking the buttons. By completing this course, the students will be able to handle the
complex macros code, and even find and modify the code while recording the macros.

Course Outcomes:

 To automate daily routine tasks within Excel


 Learn VBA programming concepts to create dynamic, re-usable code
 Creating macros and streamline the VBA code
 Determine when it's best to use the Macro Recorder
 Writing custom VBA Macros to create more robust automation

Readings:
Text Book(s):
1). Microsoft Excel 2019 VBA and Macros
2). Excel Macros For Dummies

Additional Readings:

To be shared based on relevance and requirement

Detailed Plan of Lectures:


Lecture Lecture Topic Pedagogical tool:
Number Demonstration/ Case
study / Activity etc.
Lecture-1 Introduction to Spreadsheets
Lecture-2 Basics of Excel
Lecture-3 Fundamentals of Macros: Choosing to use a macro, https://www.youtube.c
recording a macro om/watch?v=ufpxojT0
iAk&t=402s&ab_chan
nel=ExcelCampus-Jon

Lecture-4 Understanding the developer Tab Macros use cases


Lecture-5 Introduction to VB Editor, Difference between Macros and
VB Editor
Lecture-6 Writing a Macro in Developer Tab Tutorialspoint videos
Lecture-7 Running and Saving Macros Tutorialspoint videos

Lecture-8 Different ways of running a Macro in Excel Tutorialspoint videos

Lecture-9 Basics of Cell Referencing Tutorialspoint videos

Lecture-10 Copy and pasting in VBA Tutorialspoint videos


Lecture-11 Fonts Tutorialspoint videos
Lecture-12 Utility of With Block Tutorialspoint videos
Lecture-13 Borders, Alignment, Font Color, Background color, Tutorialspoint videos
Lecture-14 Wrap text, merge cells, delete, clear command in immediate Tutorialspoint videos
window, rows and column insert
Lecture-15 Introduction to sheets, Adding the sheets, Renaming the Tutorialspoint videos
sheets, deleting the sheets.
Lecture-16 Excel VBA Object Model https://www.youtube.c
om/watch?v=EPokGV
Ow1cc&ab_channel=
ExcelMacroMania

https://www.youtube.c
om/watch?v=uYHrzo2
gzbo&t=184s&ab_cha
nnel=LeilaGharani

Lecture-17 Object properties and object methods https://www.youtube.c


om/watch?v=vhPnRQ
hODBw&ab_channel
=ExcelMacroMania

https://www.youtube.c
om/watch?v=0gop6Ey
Xhc4&ab_channel=Ev
erydayVBA

Lecture-18 Referring to ranges and writing to cells in VBA Tutorialspoint Video


Lecture-19 Range properties and methods https://www.youtube.c
om/results?search_que
ry=ranges+macros+lei
la

Lecture-20 Finding the last row in the range https://www.youtube.c


om/watch?v=6Kkti_oi
hOY&ab_channel=Te
achExcel
Lecture-21 Referencing the worksheets
Lecture-22 Working with variables: Declaring variables and constants https://www.youtube.c
om/watch?v=DpOoE4
U4iGg&t=4s&ab_cha
nnel=TutorialsPoint
https://www.youtube.c
om/watch?v=ZlvT009
JnSQ&ab_channel=Ev
erydayVBA

Lecture-23 Data types and its significance in coding https://www.youtube.c


om/watch?v=zfc9TY
H3UvY&ab_channel=
LeilaGharani

Lecture-24 Scoping variables


Lecture-25 For loops Tutorialspoint Videos
Lecture-26 For loops Tutorialspoint Videos
Lecture-27 Creating a macros with for loop https://www.youtube.c
om/watch?v=5bq3N99
mNPE&ab_channel=L
eilaGharani

Lecture-28 IF Then (Else, ElseIF) for Conditional Outcomes https://www.youtube.c


om/watch?v=dUSQ7w
ZHM7A&ab_channel
=LeilaGharani

Lecture-29 Case statement Tutorialspoint Videos


Lecture-30 Goto statement Tutorialspoint Videos
Lecture-31 Activity
Lecture-32 VBA versus worksheet functions https://www.youtube.c
om/watch?v=23QPSj
UwDSc&ab_channel=
TrumpExcel

https://www.youtube.c
om/watch?v=L_OJIH
R6i2Q&ab_channel=T
eachExcel

Lecture-33 Important VBA Functions Refer to


‘Create_Macros1’
workbook
Lecture-34 Message Box Tutorialspoint video
Lecture-35 Input Box
Lecture-36 Error Handling Refer to
‘Create_Macros1’
workbook
Lecture-37 Excel tables and Pivot tables https://trumpexcel.co
m/pivot-cache-excel/

Lecture-38 Pivot tables https://www.youtube.c


om/watch?v=P0wue0z
kcKA&ab_channel=K
arinaAdcock

Lecture-39 Working with charts https://www.youtube.c


Lecture-40 Working with charts om/watch?v=iFe04n1
qKN4&ab_channel=
MyE-Lesson

Details of Internal Evaluation Components:

Evaluation No Nature of Evaluation & Marks


Evaluation-1 Assignments/Project- 20 marks
Evaluation-2 Quiz-30 Marks (2 @ 15 marks each)
Evaluation-3 End Sem-50 Marks

Excel Macros Assignment


IPM-II

Instructions to the candidate:

● All questions are compulsory.


● Take the datasets from Kaggle or any other authenticated source. Mention the source
and hyperlink in the report.
● Give an explanation of the approach to solve the problem in 80-100 words.
● Give the snapshot of the code along with the explanation.
● You have to submit the report in word format with proper formatting:
o For headings: “Georgia” font, 14pt font with font size. Make heading Bold and
Underline.
o For text: “Times New Roman” font with 12pt font size, Justify text with 1.5
spacing.
o For snapshots: Jpeg or jpg format only.
o Page margins: 2.54cm-Top and Bottom, 1.91cm- Left and Right.
o Proper page numbering should be there along with Table of contents on 2nd page
for the report.
● Each question consists of 5 marks. Total marks: 20.
● Deadline for the assignment is 31st December, 2022 till 11:59:59 PM.
● DO NOT SUBMIT the assignment on Gmail. It will not be considered.
● Google form link will be shared to submit the assignment and file.
● You have to attach the project/Assignment report and Macros enabled file on the
google form. Be careful while saving the Macros enabled file.
Questions to be answered in the assignment report.

Create a Table of Content for each question in the first Excel sheet. Each question should be
started on separate worksheet. Refer to tutorials and study material for creating a table of
content.

1. Create a macro on any dataset to get all the unique entries in a column on second
workbook which should automatically be opened. After clicking the macros button.
2. Take any financial data and draw charts with macros button to visualize the data (Take
different quarters of data on different worksheets). After creating a macro, highlight the
code if the chart needs to be changed (Let’s say from bar chart to line chart, how you will
modify the macros).
3. Do the formatting with macros before saving the file. Formatting should give a
professional look to that file with a single click of a button. (Marks will be depending on
how formatting is done)
4. Take a worksheet from question 2 and after copying the data to a new workbook, save it
as a pdf file with username of your laptop and current year.

*Academic Integrity

Malpractice in any form will be dealt with as per manual of policies of Department of
Management Studies, NALSAR University of Law, Hyderabad.

CO-PO Mapping:
PO PO1 PO2 PO3 PO4 PO5 PO6

CO1 Yes Yes Yes Yes No Yes

CO2 Yes Yes Yes Yes No Yes

CO3 Yes Yes Yes Yes No Yes

CO4 Yes Yes Yes Yes No Yes

You might also like