Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello Excel users and experts,
I offered this code to a poster about 4 or 5 posts below this one (Gary 11:35) and now I find that the codes seems to crash after I clear the series of comments it compiles in column A. Not good!! Any ideas where I am going wrong? Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) On Error Resume Next Application.EnableEvents = False If Target < Range("F1") Then Exit Sub Range("A100").End(xlUp).Offset(1, 0).Select With Selection .AddComment .Comment.Text Text:=Range("E1").Value & ":" _ & Chr(10) & Range("F1").Value .Comment.Visible = True .Value = Range("F1").Value End With Range("F1").ClearContents Range("F1").Select Application.EnableEvents = True End Sub Thanks, Howard |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
code not unique find latest date | Excel Discussion (Misc queries) | |||
Complicated If Then / V Lookup / Match Statement... | Excel Worksheet Functions | |||
Lost my Paste | Excel Discussion (Misc queries) | |||
Macro for changing text to Proper Case | Excel Worksheet Functions | |||
Each Click of the Mouse | Excel Discussion (Misc queries) |