+ Reply to Thread
Results 1 to 3 of 3

Cannot autofit the comments

  1. #1
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Cannot autofit the comments

    I found some code on the net that whenever you double click on the cell, it will automatically insert the comments but what I want it to do is to add another line if the sentence in the comment is getting too long.

    This the code I have on the worksheet:
    Please Login or Register  to view this content.
    Somehow even the code has AutoSize = True, it still does not work.
    DoubleClickAddComments.xls
    Thanks in advance

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Cannot autofit the comments

    Hello unley,

    Your code works correctly. The autosize feature sets the comment width equal to the widest line of text entered.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Re: Cannot autofit the comments

    Thank for a quick reply.
    I thought Autosize stop the sentence at certain length before going to the next line.
    So is there any way of altering the codes for certain length in comments?

    Like I want twenty letters (including spaces)before going to the next line?

+ Reply to Thread

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