filtering code does not work

I have a code in FILTER() that should
In "REPORT" sheet
1. apply autofilter to row 1
2. filter "Rated Weight" column based on cell value in "Details" B3
3. Any row in "Rated Weight" column that < "Details" B3
4. DELETE THOSE ROWS

I need to end up with only rows where "Rated Weight" is >= "Details" B3 value.

Sometimes it works and other times it doesn't . Maybe data size?
FRANTIC to get this project complete!!!

Any help?
MWT-TOOL-v8.xlsb
Euro5Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Euro5Author Commented:
Also - what if the rows are all eliminated? Could you suggest an error handler to stop the program and tell the user "There is no data for this analysis"?
Rgonzo1971Commented:
Hi

your code limits it to 60000 rows Range("A2:A60000")

pls try

Range(Range("A2"), Range("A" & Rows.Count).End(xlUp))

to test whether there is data in the column A after the filter you could use

Res = Application.CountA(Range(Range("A2"), Range("A" & Rows.Count)))

If res = 0 then
    MsgBox "There is no data for this analysis"
    Exit Sub
End if

Open in new window

to be placed after call Filter

Regards

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Euro5Author Commented:
That worked! Thanks!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.