Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Oct 2003
    Location
    South-Western, Ontario, Canada
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Date function within a Comment Box? (2003)

    When we select a cell to enter a 'comment', is it possible to incorporate a =NOW() function to calculate "today's date" within that comment box in the active cell selected?

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Date function within a Comment Box? (2003)

    You can not add a function, the comment displays text

    This line will put the current date into the comment of the activecell.

    ActiveCell.AddComment _
    Text:="Today's Date is " & vbLf & _
    Format(Date, "mmm d, yyyy")

    You can add it to a macro. Is this what you are after?

    Steve

  3. #3
    Lounger
    Join Date
    Oct 2003
    Location
    South-Western, Ontario, Canada
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Date function within a Comment Box? (2003)

    Thanks Steve for the info. This will do just fine.

Posting Permissions

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