vba newbie looking for help

andybno1

New Member
Joined
Jul 23, 2018
Messages
1
so I have spreadhseet that I want to do a couple things in VBA and compatible with excel 2013

sheet1 (named complaints):
sort column E in numeric order older to new automatically as entered it will sort for me

when column I is marked yes to then move that entire row to sheet2 and removed from sheet1

sheet2 (named completed):
sort in date order older to newer in column I

anyone able to help?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi andybno1, welcome to the board.


This sounds like an easy job for the macro recorder...


1. Power up the macro recorder and set her recording
2. Sort Column E
3. Apply a filter to your data
4. Filter Column I for yes
5. Copy this to a new sheet
6. Back to the previous sheet
7. Highlight the visible rows and right click >> Delete Rows
8. Unfilter column I
9. Stop the macro recorder.


The code will likely want tidied up some, made a little more robust and such. If you want a hand then post back what the record spat out :)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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