+ Reply to Thread
Results 1 to 2 of 2

VB Code for Comments

  1. #1
    Forum Contributor
    Join Date
    06-18-2010
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    546

    Exclamation VB Code for Comments

    Two questions. First, I have one sheet that has account information in it with comments, and on the other sheet, I was wanting to copy the comments over. I found the following code that would work as a function to copy comments over, but I can't seem to make it work from sheet to sheet, only within the sheet I am working on:
    Please Login or Register  to view this content.
    Any ideas on this one?


    Second, I was wondering if there was a way to extract the comments without displaying the username. Now the part that gets tricky is, I want the username to display of who input the comment BUT when I am extracting the comment using the function I do not want it to copy over the username that input the comment.

    Any help will be GREATLY appreciated!!!
    Last edited by Leith Ross; 10-20-2010 at 06:39 PM. Reason: Added Code tags

  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,259

    Re: VB Code for Comments

    Hello jo15765,


    To make your posts easier to read, copy, and edit please wrap your code. I did it for you this time. Here is how you can do it next time.

    How to wrap your Code using the # icon
    1. Select all your code using the mouse.
    2. Click on the # icon on the toolbar in the Message window. This will automatically wrap the text you selected with the proper Code tags to create a Code Window in your post.

    To manually wrap your code, use these Bulletin Board Code Tags
    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] After the last line.
    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!)

+ 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