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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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