Weekly I use several large (65meg) excel files to calculate market data using a macro that runs for 7 1/2 hours. I then use PPT to publish the data during a Zoom meeting that is then achieved on YouTube. I would like to learn how to automate a couple of issues.
1) I would like to learn how to expand the x-axis (dates) for recent data. For example, I would like data from 1/1/2014 through 12/31/2021 to be normally spaced, and data from 1/1/2022 through 12/31/2023 to have double spacing. I currently do this manually by plotting two extra years and then using the snip tool to paste the image over the graph and then elongate the copied snip.
2) I would also like to move the default y-axis (data) from the left side of the graph to the right sided of the graph. I currently do this by plotting and not displaying the primary data, deleting the primary y-axis, and plotting the real data on the secondary axis.
The result of these two efforts is
Right axis.jpg
The goal is to learn if and how to do this in a more automated manner.
Thanks
Bookmarks