I have a file that we use to show daily sales and orders. The original file had one tab. There is data in columns k through z. Columns M and S contain month to date (MTD) values. Columns L & R show current day sales and is calculated as the delta between today's MTD sales and yesterday's MTD sales.
The file is linked to another file that contains the current day's MTD sales. Before I update the MTD sales file (and then update the link to said file) I run a macro I built that would move data from columns M and S (current data) to columns B and C (yesterday data). Then I update the link and the "current day" sales are calculated as simple subtraction in columns L & R.
This worked fine but now we are putting in more tabs to show detail. How do I make reference to each of the new tabs? The column references are the same, I just need to reference each of the individual sheets. My original code was:
For example we now have tabs called "NorthEast", "West", "SouthEast", etc.
Bookmarks