2001sleeper
New Member
- Joined
- Aug 16, 2017
- Messages
- 3
Hello,
As many other posts I am a beginner and not sure where to start.
I have a spreadsheet for process pH values that is setup as follows:
[TABLE="width: 415"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD="align: right"]8/1/2017[/TD]
[TD="align: right"]8/2/2017[/TD]
[TD="align: right"]8/3/2017[/TD]
[TD="align: right"]8/4/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PH[/TD]
[TD]PH[/TD]
[TD]PH[/TD]
[TD]PH[/TD]
[TD]PH[/TD]
[/TR]
[TR]
[TD]Sump1[/TD]
[TD]7.85[/TD]
[TD]7.52[/TD]
[TD]7.46[/TD]
[TD]7.38[/TD]
[/TR]
[TR]
[TD]Sump2[/TD]
[TD]7.54[/TD]
[TD]7.48[/TD]
[TD]7.20[/TD]
[TD]7.40[/TD]
[/TR]
[TR]
[TD]Sump3[/TD]
[TD]8.03[/TD]
[TD]8.42[/TD]
[TD]7.53[/TD]
[TD]7.50[/TD]
[/TR]
</tbody>[/TABLE]
Row 1 is where the dates are found and I am wanting to have a macro that will only keep TODAY()-7 days. So basically, every day I open the spreadsheet OR manually run the macro, all columns older than 7 days will be cut and relocated to an Archive spreadsheet and the empty columns will be deleted allowing the data to shift left.
Is this possible?
As many other posts I am a beginner and not sure where to start.
I have a spreadsheet for process pH values that is setup as follows:
[TABLE="width: 415"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD="align: right"]8/1/2017[/TD]
[TD="align: right"]8/2/2017[/TD]
[TD="align: right"]8/3/2017[/TD]
[TD="align: right"]8/4/2017[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PH[/TD]
[TD]PH[/TD]
[TD]PH[/TD]
[TD]PH[/TD]
[TD]PH[/TD]
[/TR]
[TR]
[TD]Sump1[/TD]
[TD]7.85[/TD]
[TD]7.52[/TD]
[TD]7.46[/TD]
[TD]7.38[/TD]
[/TR]
[TR]
[TD]Sump2[/TD]
[TD]7.54[/TD]
[TD]7.48[/TD]
[TD]7.20[/TD]
[TD]7.40[/TD]
[/TR]
[TR]
[TD]Sump3[/TD]
[TD]8.03[/TD]
[TD]8.42[/TD]
[TD]7.53[/TD]
[TD]7.50[/TD]
[/TR]
</tbody>[/TABLE]
Row 1 is where the dates are found and I am wanting to have a macro that will only keep TODAY()-7 days. So basically, every day I open the spreadsheet OR manually run the macro, all columns older than 7 days will be cut and relocated to an Archive spreadsheet and the empty columns will be deleted allowing the data to shift left.
Is this possible?