--Stock scripting in VBA--
Background
This VBA script has been created to succinctly summarize the data for each unique stock. This then allows for analysis of the dataset provided to determine which stocks performed well over the year, while also outlining which stocks did not perform as well.
Methods
The VBA script has been created to loop through all stocks for one year and output the following information:
- Ticker symbol.
- Yearly change with conditional formatting.
- Percentage change with conditional formatting.
- Total stock volume of the stock.
Functionality to the VBA script to return the following data:
- Greatest percent increase.
- Greatest percent decrease.
- Greatest total volume.
The VBA script was then enabled to run on every worksheet at once.
VBA Script File
The VBA script file can be read under the ‘VBA Stock Code’.
References
- Dataset provided by edX UofT Data Analytics, which had been generated by Trilogy Education Services, LLC.