Skip to content

Simple python script that converts all Excel files (xls, xlsx, xlsm, csv) in a directory into xlsb files.

Notifications You must be signed in to change notification settings

gibz104/xlsb-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

xlsb_converter

Simple python script that converts all Excel files (xls, xlsx, xlsm, csv) in a directory into xlsb files.

Test OS

Background

Do you have massive excel files for financial modeling? Have you heard that storing your Excel files as binary format (.xlsb) can speed up your workbook's performance? Xlsb files also support macros, similar to xlsm. Well if you have hundreds of Excel files that need to be converted, then this script is for you.

Usage

Simply pass a windows directory path to the 'main' function and all xls, xlsx, xlsm, and csv files in that directory will be saved as xlsb files in the same location.

This script does not delete the original files, but rather saves a new version of the originals. If the script comes across a password protected workbook, you will be prompted to enter that workbook's password in an Excel popup window for the script to proceed.

Disclaimer

This repository uses WIN32COM, which makes this script only work on Windows.

About

Simple python script that converts all Excel files (xls, xlsx, xlsm, csv) in a directory into xlsb files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages