Consulting

Results 1 to 6 of 6

Thread: Listbox Display

  1. #1
    VBAX Contributor
    Joined
    Aug 2007
    Posts
    165
    Location

    Listbox Display

    Hi

    How do you fix the displayed data in a form window via the macro field and not the form properties....in listbox....

    it keep on moving around once a delete any row in the worksheet (above the form)

    thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Do you mean something like

    [vba]

    With Me.ListBox1
    .AddItem Format(myAmt,"$#,##0.00")
    End With
    [/vba]

    as a very simple example?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Contributor
    Joined
    Aug 2007
    Posts
    165
    Location
    yes....

    may data is in the following range

    s400:u427

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I thought you said a form listbox?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Contributor
    Joined
    Aug 2007
    Posts
    165
    Location
    thanks fo the feedback....

    fixed the problem with your help.............

  6. #6
    Moderator VBAX Master geekgirlau's Avatar
    Joined
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,464
    Location
    Just a quick note for future entries - make sure you give your post a title that tells us something about the problem. A generic "Help" topic doesn't tell us anything, and is less likely to get responses.

Posting Permissions

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