+ Reply to Thread
Results 1 to 2 of 2

Drop downs in excel 2007

  1. #1
    Registered User
    Join Date
    08-16-2007
    Posts
    9

    Drop downs in excel 2007

    Hi,

    I am not sure whether this question has already been asked in the forum.

    I have a drop down which I am populating from my code in Visual Studio. I have a "display value" which I am providing as the item in the drop down. I also have a "store value" which is again a string and which I need to be stored along with the display value in the drop down.

    I thought of converting it to integer and storing it in the listIndex property, but that is throwing COM exception.

    Is their any other place where I can store the "store value" so that I will be able to directly retrieve the store value whenever an item is selected in the drop down?

    Thanks,
    Dhruvan.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why not store it in a worksheet & use a Long or Double not Integer
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1