I am trying to create a form in InfoPath that will later be published to SharePoint. On that form, I have a Multiple-Selection List Box that is comprised of 5 check boxes. I want to limit that list box, so that only two selections can be made. I know I need to do it through Visual Basic, but I don't know how to approach it. When I type in the Code Editor of InfoPath, I don't get the tips like I do in Access or in Visual Studio. Can someone tell me how to limit this selection? Any assistance you can provide would be greatly appreciated.