When you enroll in this course, you'll also be enrolled in this Specialization.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate
There are 4 modules in this course
"Excel/VBA for Creative Problem Solving, Part 2" builds off of knowledge and skills obtained in "Excel/VBA for Creative Problem Solving, Part 1" and is aimed at learners who are seeking to augment, expand, optimize, and increase the efficiency of their Excel spreadsheet skills by tapping into the powerful programming, automation, and customization capabilities available with Visual Basic for Applications (VBA).
In Part 2 of the course, learners will: 1) learn how to work with arrays and import/export arrays from/to Excel using VBA code; 2) learn how to work with text strings and write data to .txt files and import information from .txt files; 3) automate the import, modification, and consolidation of information from multiple worksheets into a central worksheet as well as the import of information from multiple workbooks to a central workbook; and 4) gain experience with creating professional user forms to interface with the user, perform advanced calculations, and manipulate data on the spreadsheet.
Learners who have a foundational understanding of VBA code and programming structures can jump right into Part 2 of the course without taking Part 1 and use the screencasts in Part 1 as reference.
Each module will introduce foundational and broad problems inspired by situations that you might encounter in the real world. To pass each module, you'll need to pass a mastery quiz and complete a problem solving assignment. This course is unique in that the weekly assignments are completed in-application (i.e., on your own computer in Excel), providing you with valuable hands-on training.
In Week 1, you will learn all about arrays and array functions. You will learn how to iterate through arrays using nested For...Next loops and For Each...Next statements; you will learn how to import data to VBA from Excel and export data to Excel from VBA; you will learn how to create user-defined array functions; and you will learn about the ReDim Preserve statement for resizable arrays. Week 1 is concluded with a quiz, which unlocks Assignment 1.
Using arrays in subroutines and functions•9 minutes
User-defined array functions•7 minutes
Example 1: SortVector array function and ksmallest•9 minutes
Example 2: Extracting diagonal elements from a square matrix•4 minutes
Example 3: Residuals of simple linear regression•9 minutes
ReDim Preserve•8 minutes
Example: ReDim Preserve•9 minutes
Assignment 1 preview and instructions•2 minutes
10 readings•Total 169 minutes
Course Updates and Accessibility Support•1 minute
For Mac users•1 minute
The importance of a Course Certificate and the future of higher education•5 minutes
How to get help•2 minutes
Opening macro-enabled workbooks•10 minutes
(OPTIONAL) Will Office Scripts replace VBA?•10 minutes
Remember to use your DEBUGGING skills!•10 minutes
Quiz 1 Solutions and Explanations•10 minutes
Assignment 1•120 minutes
Week 2 STARTER file (1 file)•0 minutes
2 assignments•Total 50 minutes
Week 1 Quiz •20 minutes
Assignment 1 submission •30 minutes
3 discussion prompts•Total 30 minutes
What about you?•10 minutes
(OPTIONAL) Week 1 reflection•10 minutes
Assignment 1 Discussion•10 minutes
Working with strings and .txt files
Module 2•5 hours to complete
Module details
Week 2 deals with text strings and text (.txt) files. You will learn about the string functions in Excel and VBA. You will gain practice with string functions as you learn how to create functions in VBA that utilize string functions. You will learn how to extract strings, such as email addresses, from a spreadsheet of mixed string formats. You will also learn how to write information from Excel to .txt files and also to import information in .txt files to Excel. The module is concluded with a quiz and Assignment 2.
Example: How to create email addresses from Last Name, First Name format•7 minutes
How to use string functions in VBA•9 minutes
Example: Using string functions in VBA•5 minutes
Example: Extracting email addresses from mixed string formats•9 minutes
Example: VBA array function for separating strings into component parts•9 minutes
Exporting data from Excel to .txt files•7 minutes
Importing data from .txt files•9 minutes
Importing data from tab-delimited .txt files•2 minutes
Example: Morse coder•9 minutes
Example: Morse decoder•9 minutes
Assignment 2 preview and instructions•1 minute
3 readings•Total 130 minutes
Quiz 2 solutions and explanations•10 minutes
Assignment 2•120 minutes
Week 3 STARTER files (11 files)•0 minutes
2 assignments•Total 50 minutes
Week 2 Quiz•20 minutes
Assignment 2 submission •30 minutes
3 discussion prompts•Total 30 minutes
(OPTIONAL) Week 2 reflection•10 minutes
Quiz 2 Discussion•10 minutes
Assignment 2 Discussion•10 minutes
Iterating through worksheets and workbooks
Module 3•5 hours to complete
Module details
Week 3 is all about iterating through (automating) worksheets and workbooks. You will learn how to consolidate information from multiple worksheets into a single worksheet and you will learn how to automatically consolidate information found within multiple workbooks into a single worksheet of a single workbook. The automation principles you learn in this module are priceless. Week 3 is concluded with a quiz and a very challenging assignment.
Consolidating information in multiple worksheets into a single worksheet•5 minutes
Example: Counting total number of 7's in all worksheets of a workbook•6 minutes
Putting it all together: Consolidating employee schedules in multiple worksheets•9 minutes
All about workbooks•10 minutes
Opening workbooks•9 minutes
Example: Importing and consolidating data from multiple files•6 minutes
Example: Counting 7's in multiple workbooks•5 minutes
Putting it all together: Consolidating employee schedules•8 minutes
Assignment 3 preview and instructions•3 minutes
How to select a range using the input box method•2 minutes
2 readings•Total 150 minutes
Assignment 3•150 minutes
Week 4 STARTER files (5 files)•0 minutes
2 assignments•Total 50 minutes
Week 3 Quiz•20 minutes
Assignment 3 submission •30 minutes
2 discussion prompts•Total 20 minutes
(OPTIONAL) Week 3 reflection•10 minutes
Assignment 3 Discussion•10 minutes
User forms and advanced user input/output
Module 4•5 hours to complete
Module details
In Week 4, you will learn about advanced input and message boxes and event handlers. You will learn how to interface with the user in a professional manner using user forms that validate input and prevent the "debug" window and VBE from appearing. You will also learn how to place combo boxes on user forms and populate those combo boxes with information on the spreadsheet. Finally, you will learn how to put it all together and implement a solving technique (bisection method) to solve a real world problem in a user form. Week 4 is concluded with a quiz, which unlocks Assignment 4.
CU Boulder is a dynamic community of scholars and learners on one of the most spectacular college campuses in the country. As one of 34 U.S. public institutions in the prestigious Association of American Universities (AAU), we have a proud tradition of academic excellence, with five Nobel laureates and more than 50 members of prestigious academic academies.
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Learner reviews
4.9
1,316 reviews
5 stars
89.82%
4 stars
8.35%
3 stars
0.98%
2 stars
0.37%
1 star
0.45%
Showing 3 of 1316
P
PN
5·
Reviewed on Dec 26, 2020
very interesting course, very nicely and deeply explained all topics in course. All assignments were quite challenging and very useful for real world applications. looking forward to part 3 of course!
R
RR
5·
Reviewed on May 14, 2018
Not only am i extremely happy about the course material both in quality but in presentation , but also about the support provided by the profesor. Congrats. A very recommendable course.
I
IS
5·
Reviewed on Jun 6, 2020
This course is equally useful and is a must-have follow up if you have done Part 1. I have completed a number of projects at work successfully following these two courses. Highly recommended!
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.