Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2011
    Posts
    3

    Unanswered: Question in the listbox

    I have a listbox and I want to select more than one item and print them in the report
    What is the code to do so

  2. #2
    Join Date
    May 2004
    Location
    New York State
    Posts
    1,178
    Look in the help file in the Selected Property and the For Each Statement. Microsoft provides the code and parameters.

    SL

  3. #3
    Join Date
    Jun 2011
    Posts
    3
    Sorry I did not understand what you mean
    Please explain more

  4. #4
    Join Date
    May 2004
    Location
    New York State
    Posts
    1,178
    With the VBA editor open, click on the Help menu. Select Microsoft Visual Basic help. In the Table of contents, select Microsoft Access Visual Basic Reference. For the 'Selected' property, click on Properties, which opens an alphabetical table. Click on the letter 'S', and select Selected. Read it; it gives you the necessary code example.

    Sam

  5. #5
    Join Date
    Nov 2010
    Posts
    84

  6. #6
    Join Date
    Jun 2011
    Posts
    3
    Thank you all for helping me
    This is what I want
    Thank you again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •