VBA & Macros Book Code Sample Yields Error

dognamedboo

New Member
Joined
Jun 4, 2009
Messages
2
I'm using code from the VBA & Macros for Excel 2007 book and pg 255 to populate a userform using an advanced filter to get a unique list. The code hangs up at the line: "With.Me.lbCust". I'm getting an error "Message or Data Member not found". What am I missing?
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

EducatedFool

Active Member
Joined
Jun 10, 2009
Messages
272
Re: VBA & Macros Book Code Sample Yeilds Error

Hi
Welcome to the Board

Try:
Code:
With Me.lbCust
 

dognamedboo

New Member
Joined
Jun 4, 2009
Messages
2
Re: VBA & Macros Book Code Sample Yeilds Error

that was my typo - it is as you listed - With Me.lbCust
 

Watch MrExcel Video

Forum statistics

Threads
1,123,203
Messages
5,600,291
Members
414,375
Latest member
Onmyown

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
Top