excel

| |

Automatically Open Excel and Send Report Using Batch and VBA

  We can use Visual Basic codes to automate some reports in Excel. Below are some simple codes to do this. First this is a batch file to open our Excel report called “data report.xlsm”, assuming the report file is in the same folder as the batch file. You can schedule the time this batch file is…

The Basics – Visual Basics Macro Programming Start Up

The Basics – Visual Basics Macro Programming Start Up

This is a quick and simple VBA code with some comments about the structure and how it the basic syntax works for beginners. Credit to WiseOwlTutorials, you can check him out Youtube. Sub createAndLabelNewSheet() ‘create new worksheet // this is a comment. comment is denoted by an ‘apostrosphe sign ‘Basic VBA sentence structure ‘thing.action ‘always name…

Python Pandas Pivot Table Index location Percentage calculation on Two columns – XlsxWriter pt2
| |

Python Pandas Pivot Table Index location Percentage calculation on Two columns – XlsxWriter pt2

This is a just a bit of addition to a previous post, by formatting the Excel output further using the Python XlsxWriter package. The additions are : Colour formatting has been added to the Total Cost column The “Total Cost” has been given a money formatting The above uses row : column numeric values instead…