tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I'm need a macro to help me remove events that are past a date i choose so i can "Arcive" them.
so heres what I need
Sheet "Diary" holds the data i want to move
Sheet "History" is where i want it to go
Sheet "Diary" Column A has the event dates
Sheet "History" Cell A1 has the date
So I want the macro when run to
Look at the date in
I'm need a macro to help me remove events that are past a date i choose so i can "Arcive" them.
so heres what I need
Sheet "Diary" holds the data i want to move
Sheet "History" is where i want it to go
Sheet "Diary" Column A has the event dates
Sheet "History" Cell A1 has the date
So I want the macro when run to
Look at the date in
Sheet "History" Cell A1
goto
</strike>
goto
Sheet "Diary" Column A and find all dates that are before that date copy those rows Columns A to H only to sheet History starting at first empty row in Column H
then delete the entire rows of the columns copied in "Diary"
hope that makes sense? please help if you can
Thanks
Tony
<strike>then delete the entire rows of the columns copied in "Diary"
hope that makes sense? please help if you can
Thanks
Tony
</strike>