===========
Try adding this code to your application.
Sub Timedelay()
ActiveSheet.Shapes("Text Box 1").Visible = True
Application.Wait (Now + TimeValue("0:00:10"))
ActiveSheet.Shapes("Text Box 1").Visible = False
End Sub
Sean
Thanks Sean. Worked great. That one's been bugging me all day.
This is what your after I think...
Sub ShwComs()
Range("A1").Select
Range("A1").Comment.Text Text:="Sean:" & Chr(10) & "Hello there"
ActiveCell.Comment.Visible = True
Range("A1").Select
Application.Wait (Now + TimeValue("0:00:10"))
ActiveCell.Comment.Visible = False
Range("A1").Comment.Text Text:="Sean:" & Chr(10) & "Is this what you want"
ActiveCell.Comment.Visible = True
Application.Wait (Now + TimeValue("0:00:10"))
ActiveCell.Comment.Visible = False
End Sub
======
Sean
Sub ShwComs()
Range("A1").Select
On Error Resume Next
Range("A1").AddComment
On Error GoTo 0
Range("A1").Comment.Text Text:="Sean:" & Chr(10) & "Hello there"
ActiveCell.Comment.Visible = True
Application.Wait (Now + TimeValue("0:00:02"))
ActiveCell.Comment.Visible = False
Application.Wait (Now + TimeValue("0:00:02"))
Range("A1").Comment.Text Text:="Sean:" & Chr(10) & "Is this what you want"
ActiveCell.Comment.Visible = True
Application.Wait (Now + TimeValue("0:00:02"))
ActiveCell.Comment.Visible = False
End Sub
======
Just noticed,
If you don't already have a comment in cell A1 you will get an error so I have now added in the add.comment line to the code, as well as the error trap for when you try and add a comment to a cell that already has one...
Sean.
======
=========