Results 1 to 4 of 4

Excel 2007 : Auto-populate cells based on value in another cell

Threaded View

  1. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Auto-populate cells based on value in another cell

    Quote Originally Posted by dnice24
    If A1 = No, then B1 = "N/A" and is locked, else allow selection from drop down list in B1
    Modifying the "constant" in B1 per A1 selection would as you say require VBA.

    If on the other hand you're just happy to prevent selection from the DV List then you could modify the source of the List accordingly, eg:

    B1 - DV Source:
    Allow: List
    Source: =IF($A1="No",NA(),MyList)
    *modify MyList as appropiate - ie range reference / named range
    In this way when A1 is No the List can't be selected - avoids VBA obviously - but does not clear B1 and replace with Error Value.
    If you're truly desperate for VBA (to generate in cell value) let us know.
    Last edited by DonkeyOte; 11-30-2010 at 03:12 PM. Reason: missing quote tags

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