Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    May 2004
    Location
    Toronto, Ontario, Canada
    Posts
    425
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Comment - Textbox value (Excel 2000)

    Hi all,

    I would like to use the activecell comment as a container of data. What I would like to do is load the data from the activecell comment or range that I set into a textbox in a form.



    Thanks Darryl.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Comment - Textbox value (Excel 2000)

    You can use something like

    TextBox1.Text = ActiveCell.Comment.Text

    or

    TextBox1.Text = Worksheets("Sheet37").Range("P43").Comment.Text

  3. #3
    4 Star Lounger
    Join Date
    May 2004
    Location
    Toronto, Ontario, Canada
    Posts
    425
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Re: Comment - Textbox value (Excel 2000)

    Thank you Hans

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Comment - Textbox value (Excel 2000)

    Something like this:

    On Error Resume Next
    TextBox1.Text = ActiveCell.Comment.Text
    On Error GoTo 0
    Legare Coleman

Posting Permissions

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