I should warn that the excel output isn't something fancy. It's just a simple table. The class can be greatly enhanced.
1 - Create a class:

2 - Create the class atributes:
3 - Create the class methods:
5 - Insert the appropriate code in each method:






