Results 1 to 7 of 7

Can't show cell comment text in Msgbox

Threaded View

  1. #1
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,014

    Can't show cell comment text in Msgbox

    I can't show cell comment in Msgbox (look Line 133 of the code):

    MsgBox rng.Offset(0, i).Comment.Text
    On module1 this works fine (you can run this macro on desired sheet where first one doesn't work).

    What I'm trying to do is comment that has contents in form of:
    Date
    Text: Number
    I'm trying to keep date and increase number.
    Until some point when Date need to be TODAY() and Number reset to 0 (this part works in Line 114).

    I just can't figure out why this Msgbox don't show anything...

    You can test it by running macro and for another running you should delete sheet 12.09.27.

    Example:

    12.09.20 H1 comment should have same date and Training: 2 on sheet 12.09.27
    12.09.20 I1 comment should have today date and Training: 0 on sheet 12.09.27 ' This works

    Does anybody see what I'm missing?
    Attached Files Attached Files
    Last edited by zbor; 10-02-2012 at 05:11 AM.
    Never use Merged Cells in Excel

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1