Auto filter list by form selection, VBA

fossi19

New Member
Joined
Jul 17, 2009
Messages
3
Hi Everyone.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
I’m new in using VBA in Excel, and this is my first "copy paste code". I want to use selections in forms to auto filter a list. I found this VBA code here, http://www.ozgrid.com/forum/showthread.php?t=91151 which does exactly what I need, but combined with forms, it doesn’t update. :(
<o:p></o:p>
I put my workbook here http://www.ferlev.dk/off/Sort_list_by_selection.xls<o:p></o:p>
<o:p></o:p>
The cells I’m referring to are B29 & C29. Also I have no clue if the copied VBA code is okay. Is there a basic VBA guide somewhere in here?<o:p></o:p>
<o:p></o:p>
Any help would be appreciated!<o:p></o:p>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,387
Messages
6,124,633
Members
449,177
Latest member
Sousanna Aristiadou

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