Hi, I'm struggling with Macros abit and I am wondering if any of you people could help me?
I have 2 worksheets "Sheet1" & "Sheet2"
I have done a small table below just as an example.
Worksheet one is the sheet that I fill in.. I need a Macro that automatically transfers a whole row once any cell in Row "R" has "COMPLETED" in the cell.
I want this row to be Cut and Pasted into the next available Row in Sheet2.
Once the Row is Transferred I need the other Rows in "Sheet1" to move up, rather than leaving an empty row at the top of the work sheet.
[TABLE="width: 500"]
<tbody>[TR]
[TD]P[/TD]
[TD]Q[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]File Sent Back[/TD]
[TD]Reference Number[/TD]
[TD]Complete?[/TD]
[/TR]
[TR]
[TD]Yes[/TD]
[TD]dadkslmf[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Yes[/TD]
[TD]fjdfn[/TD]
[TD]COMPLETED[/TD]
[/TR]
[TR]
[TD]Yes[/TD]
[TD]kjfds[/TD]
[TD]COMPLETED[/TD]
[/TR]
</tbody>[/TABLE]
Is this possible, if so can somebody help me?
Also If it is possible, is it also possible to undo the Macro if COMPLETED is typed by mistake, or in the wrong Row, so it will transfer back to worksheet 1
I have 2 worksheets "Sheet1" & "Sheet2"
I have done a small table below just as an example.
Worksheet one is the sheet that I fill in.. I need a Macro that automatically transfers a whole row once any cell in Row "R" has "COMPLETED" in the cell.
I want this row to be Cut and Pasted into the next available Row in Sheet2.
Once the Row is Transferred I need the other Rows in "Sheet1" to move up, rather than leaving an empty row at the top of the work sheet.
[TABLE="width: 500"]
<tbody>[TR]
[TD]P[/TD]
[TD]Q[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]File Sent Back[/TD]
[TD]Reference Number[/TD]
[TD]Complete?[/TD]
[/TR]
[TR]
[TD]Yes[/TD]
[TD]dadkslmf[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Yes[/TD]
[TD]fjdfn[/TD]
[TD]COMPLETED[/TD]
[/TR]
[TR]
[TD]Yes[/TD]
[TD]kjfds[/TD]
[TD]COMPLETED[/TD]
[/TR]
</tbody>[/TABLE]
Is this possible, if so can somebody help me?
Also If it is possible, is it also possible to undo the Macro if COMPLETED is typed by mistake, or in the wrong Row, so it will transfer back to worksheet 1
Last edited: