Consulting

Results 1 to 2 of 2

Thread: Finding mode of array in VBA

  1. #1

    Finding mode of array in VBA

    I need to find the mode of a group of values in an array in VBA. Is there any way to do this beyond an extensive if-then statement?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    MsgBox Application.Mode(ary)
    [/vba]
    ____________________________________________
    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

Posting Permissions

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