+ Reply to Thread
Results 1 to 4 of 4

On Row Click event show dropdown in the Row

  1. #1
    Registered User
    Join Date
    02-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    78

    On Row Click event show dropdown in the Row

    hi,

    I have some rows in my sheet locked and some unlocked rows.

    When user clicks on a unlocked row I should be able to enter some information.

    I am suppose to populate some dropdowns in that row for him to choose.

    How can this be done??

    I know when a user clicks a row worksheet change event is call. I can write a function in the worksheet change event to populate values in the dropdown...

    I went through some articles, and they say it can be done by hiding and unhiding rows. Does anybody knows how to go about it.

    Thanks
    Last edited by Ranjani; 03-09-2009 at 02:50 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: On Row Click event show dropdown in the Row

    Why not use Data Validation?

    http://www.excel-it.com/data_validation.htm
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: On Row Click event show dropdown in the Row

    The dropdown values are going to come from an XML...Moreover on click of the row i need to show the dropdown..make it a kindaa of editable row...

  4. #4
    Registered User
    Join Date
    02-16-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    78

    Re: On Row Click event show dropdown in the Row

    Thanks

    I did use Data Validation. I call a method called GetVendors which retrieves from an XML and returns a string

    I am adding a list which contains values of the string returned from the xml (refer 5th line)

    and then making the list as dropdown (refer 6th line).

    Please Login or Register  to view this content.
    Thanks again

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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