Could some kind soul please advise me on VBA coding to complete the following;
If this could be placed into a button then super, but tbh this is just a nice addition.
Example Worksheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]QofA[/TD]
[TD]UID[/TD]
[TD]Link[/TD]
[TD]To Do[/TD]
[TD]Ref[/TD]
[TD]Task[/TD]
[TD]Completed[/TD]
[TD]Comments[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]13/02/15[/TD]
[TD][/TD]
[TD]Test 1[/TD]
[TD]13/02/15[/TD]
[TD]SAP updated.[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]14/02/15[/TD]
[TD][/TD]
[TD]Test 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4[/TD]
[TD][/TD]
[TD]16/02/15[/TD]
[TD][/TD]
[TD]Test 3[/TD]
[TD]15/02/15[/TD]
[TD]Task delegated ABV.[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]13/02/15[/TD]
[TD][/TD]
[TD]Test 4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]7[/TD]
[TD][/TD]
[TD]20/02/15[/TD]
[TD][/TD]
[TD]Test 5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.
Regards,
Clive
- Search the Completed column (G) of the ToDo List worksheet for any date entries.
- If any entry found to cut and paste the entire row(s) onto the Archive worksheet (Ensuring they are pasted into the next free row).
- Re-sort the ToDo List worksheet into order for QofA (smallest to largest), then by To Do (oldest to newest)
If this could be placed into a button then super, but tbh this is just a nice addition.
Example Worksheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]QofA[/TD]
[TD]UID[/TD]
[TD]Link[/TD]
[TD]To Do[/TD]
[TD]Ref[/TD]
[TD]Task[/TD]
[TD]Completed[/TD]
[TD]Comments[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]13/02/15[/TD]
[TD][/TD]
[TD]Test 1[/TD]
[TD]13/02/15[/TD]
[TD]SAP updated.[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]14/02/15[/TD]
[TD][/TD]
[TD]Test 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4[/TD]
[TD][/TD]
[TD]16/02/15[/TD]
[TD][/TD]
[TD]Test 3[/TD]
[TD]15/02/15[/TD]
[TD]Task delegated ABV.[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]13/02/15[/TD]
[TD][/TD]
[TD]Test 4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]7[/TD]
[TD][/TD]
[TD]20/02/15[/TD]
[TD][/TD]
[TD]Test 5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance.
Regards,
Clive