Macro breaks Excel filter when searching products

jphumani

New Member
Joined
Jan 21, 2019
Messages
18
Hi There! Im Juan from Argentina.

I've been working around with a datasheet thats used to make an internal order within a small company.

I've used a macro (not written by me) to have a "search" dialog box. You can searh all the items you need and place de units you need in column D but the problem how to finish the order.

PLAN A: Originally i tried to use a filter a select everything but "empty" cells, but everytime i use the "search" dialog, the Filter dissapear.
PLANB: Maybe i could copy entire rows to another sheet, but only the ones that have an amount in D Column. "D" is the one where you place the quantity you need

I think Plan B is deffinitely better because a can you more tools.

Notes: Articles code, description and stock ammount comes from an SQL query


Thanks in advantage
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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