Results 1 to 4 of 4

Thread: How to read the contents of an OLEObject (dropdown list) in excel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Newbie
    Joined
    Oct 2006
    Posts
    2
    Location

    Smile

    Quote Originally Posted by p45cal
    instead of:[vba]buf = Split(o.Object.Values, ";")[/vba]use:
    [vba]buf = Split(o.Object.DisplayValues, ";")[/vba]

    Note that your resize isn't big enough to accommodate the last entry since split returns a zero based array, not a 1 based array, so you'll miss the last entry..
    Thank you so much for this. :-)

    It seems as it is getting the last value. :-)

    Thank you so much for your help.

    Also, everytime i go to scroll...it quits excel and restarts... as well as i notice that some of the entries or names are coming over like
    "AmTrust Bank - (OSBOH)"
    Arvest Bank Operations, Inc. - (ABOAR)
    "Asiatrust Development Bank (ASTPH)"
    with the quotes i mean...

    Edit: I can clean this up, without the qoutes. i so appreciate your help.

    Keri
    Last edited by furrelkt; 08-10-2010 at 09:20 AM.

Posting Permissions

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