Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
this fixes it so that the text box is deleted whenever the selection change occurs, not just another selection in column 5... Public ShpMsg As Shape Private Sub Worksheet_SelectionChange(ByVal Target As Range) On Error Resume Next ShpMsg.Delete If ActiveCell.Column = 5 And ActiveCell.Value < "" Then Set ShpMsg = Me.Shapes.AddTextbox(msoTextOrientationHorizontal, _ ActiveCell.Left, ActiveCell.Top, 0, 0) ShpMsg.TextFrame.Characters.Text = ActiveCell.Value ShpMsg.TextFrame.AutoSize = True End If End Sub Ken Johnson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
synchronizing timestamp feature with time on video software. | Excel Discussion (Misc queries) | |||
formula to determine time range overlap? | Excel Discussion (Misc queries) | |||
Hot key for time? | Excel Worksheet Functions | |||
time sheet drop down lists | Excel Discussion (Misc queries) | |||
Entering Times | Excel Discussion (Misc queries) |