nicolehalliday
Board Regular
- Joined
- May 19, 2010
- Messages
- 56
Hi!
I have 110 columns of data that are 500 rows long. My macro pastes the most recent column of data at the right end of the table, and then deletes the least recent column which is the most left of the table. It is basically rolling over every day to contain only 110 columns.
I am having problems with hardcoding columns. In the separate spreadsheet that I take my most recent column of data for, I have the following cell:
=WORKDAY(highs!$EE$1,1)
The date that returns in this cell determines the data that is copy/pasted into the table. However, after one run of my macro the cell turns into:
=WORKDAY(highs!$ED$1,1)
I thought the $ signs would hard code it so that no matter what, it is referencing the date in EE1. It is not working because I keep deleting column Z in my macro. Is there a way to do this? Thanks!
I have 110 columns of data that are 500 rows long. My macro pastes the most recent column of data at the right end of the table, and then deletes the least recent column which is the most left of the table. It is basically rolling over every day to contain only 110 columns.
I am having problems with hardcoding columns. In the separate spreadsheet that I take my most recent column of data for, I have the following cell:
=WORKDAY(highs!$EE$1,1)
The date that returns in this cell determines the data that is copy/pasted into the table. However, after one run of my macro the cell turns into:
=WORKDAY(highs!$ED$1,1)
I thought the $ signs would hard code it so that no matter what, it is referencing the date in EE1. It is not working because I keep deleting column Z in my macro. Is there a way to do this? Thanks!