Marco to add a comment
Prep for a pre-employment Excel test with Job Test Prep
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Marco to add a comment

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Location
    Georgia USA
    Posts
    569
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    How can you made a Marco add a comment in the active cell, I want a input box to come up an what is typed in it will be put in the comment, I tried is but it want work. I am using '97. Thanks
    Sub Add_Comment()
    ActiveCell.AddComment
    Comment = InputBox("Enter comment here")
    ActiveCell.Comment.Visible = False
    End Sub

  2. #2

    Join Date
    Mar 2002
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try this :-

    Dim comment As Variant
    comment = InputBox("Enter comment here")
    If comment = False Then Exit Sub
    ActiveCell.NoteText comment

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Location
    Georgia USA
    Posts
    569
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    That works Thanks

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com