Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
If cancel list box don't enter FALSE in list
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Howard, post: 7421570"] 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 [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
If cancel list box don't enter FALSE in list
Top