Need HELP with code auto move whole row to new worksheet based on data

crazydoglady

New Member
Joined
Feb 10, 2018
Messages
10
hi i could really use some help. i have two work sheets outstanding and and i want to be able to automatically hide an entire row based on the text "closed" from my outstanding worksheet and move it to completed.
i know this cant be done with a function or formula and my knowledge of code is awful.
Can someone please help?
my closed column is a drop down not sure if it makes a difference and my rows start in A3

Outstanding
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]any[/TD]
[TD]broken down[/TD]
[TD]belfast[/TD]
[TD]any[/TD]
[TD]closed[/TD]
[TD]1/1/18[/TD]
[/TR]
[TR]
[TD]3858[/TD]
[TD]any[/TD]
[TD]broken down[/TD]
[TD]newyork[/TD]
[TD]any[/TD]
[TD]closed[/TD]
[TD]2/2/18[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
You are very welcome. :)

Hi mumps you were helping me yesterday with my code issues. I wanted to move a sheet from outstanding to completed and you gave me a macro which worked brilliant and now today when in work I went
to use the spreadsheet for some reason its not working and I cant understand why, do you have any clues I think it is excel 2016 I am using
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I really don't know why it wouldn't be working now. Can you post a copy of the file that is now not working? Please see Post #6 for instructions.
 
Upvote 0
I really don't know why it wouldn't be working now. Can you post a copy of the file that is now not working? Please see Post #6 for instructions.

Hi thanks for replying again, I think it could be to do with our company server. I need to speak to IT cause it works perfect on my home PC
 
Upvote 0
In order for the macro to work, you have to enable the macros in Excel. Quite often, for security reasons, some organizations will leave them disabled.
 
Last edited:
Upvote 0
In order for the macro to work, you have to enable the macros in Excel. Quite often, for security reasons, some organizations will leave them disabled.

yes that's what i thought i will check it out tomorrow. i know its not recommended to have macros enabled. thanks again
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top