Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This works okay, except if you cancel out of entering something in the list, it enters FALSE. Don't want that.
Thanks, Howard Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Range("B1")) Is Nothing Then Exit Sub Dim strName As String If Target = "Not on list" Then strName = Application.InputBox("Add To List", _ "Add to list here", "Enter Whatever", , , , , 2) Range("F1").End(xlDown).Offset(1, 0).EntireRow.Insert Range("F1").End(xlDown).Offset(1, 0) = strName End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement based on True/False that activates a certain list box | Excel Worksheet Functions | |||
Compare List A to List B, Return List B Items Not in List A | Excel Programming | |||
how to enter simple list and sum | New Users to Excel | |||
data validation list: how do i 'force' a user to enter data from the list? | Excel Discussion (Misc queries) | |||
data validation list: how do i 'force' a user to enter data from the list? | Excel Discussion (Misc queries) |