Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Python and Excel Programming With OpenPyXL

Use OpenPyXL To Connect Python And Excel - Unlock The Power Of Python Programming and Excel Spreadsheets
(237 reviews)
12,597 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 1h 42m
Language: English
Next start: On Demand

Table of contents


In this course you’ll learn how to use the OpenPyXL Library for Python to connect your Python programs to Excel and vice versa.

Using OpenPyXL, you can use Python to do all sorts of cool things in Excel; from creating spreadsheets from your code, to updating existing spreadsheets. You’ll be able to load data from a spreadsheet into your python program and do anything you want with it, and then save it back to the spreadsheet. 

We’ll learn how to style spreadsheets using Python, and also how to make basic charts and graphs in a spreadsheet using Python.

You’ll learn…

– Install Python
– Install Sublime Text and Git Bash Terminal
– Set up a Virtual Environment
– Install OpenPyXL
– Create a First Python Program
– Load an Excel Spreadsheet Workbook into a Python Program
– Grab a Spreadsheet Cell Programatically
– Grab whole Columns and Rows from a Spreadsheet with Python
– Change the Data in your Spreadsheet using Python
– Save Changed Spreadsheets from your Python Program
– How to Loop Though A Spreadsheet programatically with Python
– Learn How To Create an Excel Spreadsheet from scratch with Python
– Use Excel Formulas in your Python Code
– Change The Font color, size, boldness, italics and more With Python
– Add Borders to Cells in your Spreadsheet with Python
– Create Pie Charts With Python
– Create Bar Charts With Python
– Create Line Charts With Python
– and More!

At the end of this course you’ll be able to use Python to do all sorts of fun things with Spreadsheets, all from your python programs!

See you inside!

– John Elder

You will learn

✓ Learn How To Use Python and Excel together with OpenPyXL
✓ How to Install and Use The OpenPyXL Library For Python
✓ How To Connect and Excel Spreadsheet to Your Python Code
✓ Create Spreadsheets Using Python


• No special tools are necessary to take this course
• A Basic Understanding of Python and Excel Is Helpful

This course is for

• This course is aimed towards beginers through intermediate Coders who want to learn the to Use Excel SpreadSheets In Their Python Code
• Anyone wanting to learn to build apps with Python and Excel
Founder of Codemy
John Elder is a pioneer in Web Development who created one of the first Internet advertising networks back in 1997. He sold it to a publicly traded company at the height of the dot com boom and then went on to create the best-selling Submission-Spider search engine submission software that’s been used by over 3 million individuals and small businesses in over 45 countries. 
Today he teaches Web Development courses at Codemy the online code school he founded. 
John graduated with honors with a degree in Economics from Washington University in St. Louis where he was an ArtSci Scholar. 
Browse all courses by on Coursemarks.
Platform: Udemy
Video: 1h 42m
Language: English
Next start: On Demand

Students are also interested in