+ Reply to Thread
Results 1 to 8 of 8

Copy and paste comment on the adjacent cells

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    Hong Kong, China
    MS-Off Ver
    Excel 2013
    Posts
    16

    Copy and paste comment on the adjacent cells

    Hi all gentlemen.

    A sheet, compose of groups of 9 items and their corresponding qty.
    I need to have the same serial no. be commented on each items of the same group.
    I am doing in this mechanical way:
    1. add comment of serial no. on the first item of group,
    2. copy and paste, with paste special>>comments, on the remaining items of the same group,
    3. Repeat this sequences on the other groups, which means hundreds.

    Other than these tedious procedures, is there any better way?

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Copy and paste comment on the adjacent cells

    The 'paste comments' method is probably the fastest manual method. I question why you need these in comments. I would highly recommend you create a separate column with the serial numbers. I understand it is an extra column, but if the serial numbers are that important that they need to be with each cell, then why not just have it as a new column B? It certainly would make your data entry easier. Also, you could hide the column if it is really distracting, yet you could see the data by using the arrow keys to enter the cell while it is hidden.
    The other alternative is to use a macro. If the serial numbers are sequential, as your example shows, then that could save you a lot of time. If they do not follow a pattern, then the macro would need to know the value for each group; either by reading the comment from the first cell of each group or referencing another cell or group of cells.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    08-19-2013
    Location
    Hong Kong, China
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Copy and paste comment on the adjacent cells

    Quote Originally Posted by Pauleyb View Post
    The 'paste comments' method is probably the fastest manual method. I question why you need these in comments. I would highly recommend you create a separate column with the serial numbers. I understand it is an extra column, but if the serial numbers are that important that they need to be with each cell, then why not just have it as a new column B? It certainly would make your data entry easier. Also, you could hide the column if it is really distracting, yet you could see the data by using the arrow keys to enter the cell while it is hidden.
    The other alternative is to use a macro. If the serial numbers are sequential, as your example shows, then that could save you a lot of time. If they do not follow a pattern, then the macro would need to know the value for each group; either by reading the comment from the first cell of each group or referencing another cell or group of cells.
    Thanks for your kindly reply.
    If there is no better solution, your suggestion is also a way to go.
    I have great interest in the macro. I guess it is not too complicated in writing a short macro to achieve the job. However I am innocent abut VBA. Can there be any further help on the writing of macro. The serial number is in sequential.
    Many thanks

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Copy and paste comment on the adjacent cells

    I agree with Pauleyb. The number in the comment isn't very useful. It obstructs the view of other cells, is a lot more labour intensive to enter and is pretty useless if required for calculations or identification.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    08-19-2013
    Location
    Hong Kong, China
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Copy and paste comment on the adjacent cells

    As you two have the same point of view, I suppose that would be the best solution.
    Thanks for you both

  6. #6
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Copy and paste comment on the adjacent cells

    Here is a quick and dirty macro that works with your sample sheet. note that your sample shows blocks of 10, not blocks of 9. This was written for blocks of 10. If you do not know how to add macros, then search the web for detailed methods.

    Please Login or Register  to view this content.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Copy and paste comment on the adjacent cells

    Thank you for the feedback.

  8. #8
    Registered User
    Join Date
    08-19-2013
    Location
    Hong Kong, China
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Copy and paste comment on the adjacent cells

    Quote Originally Posted by Pauleyb View Post
    Here is a quick and dirty macro that works with your sample sheet. note that your sample shows blocks of 10, not blocks of 9. This was written for blocks of 10. If you do not know how to add macros, then search the web for detailed methods.

    Please Login or Register  to view this content.
    Many thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy and Paste with matching function? Comment Box
    By mdeisen1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-18-2013, 12:29 PM
  2. [SOLVED] Copy/Paste Adjacent Cells based on ActiveCell
    By brgr4u in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-24-2013, 03:41 PM
  3. Macro: IF given range contains a comment box, then copy cell D1 and paste.
    By azhar.sayed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-10-2011, 07:22 AM
  4. Copy and paste formula into adjacent cells
    By pixifaery in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-24-2010, 07:25 PM
  5. [SOLVED] copy and paste graphics into comment boxes
    By steve in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2005, 11:05 PM

Tags for this Thread

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