+ Reply to Thread
Results 1 to 3 of 3

Macro: always copy/paste text from cell "I" (on the same row the was cell selected)

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Macro: always copy/paste text from cell "I" (on the same row the was cell selected)

    Hi,
    i am using macro on this link by a guy call Karan http://superuser.com/questions/50647...ste-to-notepad.

    this macro allows me to copy/paste multiple sellections as string.
    example:
    select (using ctrl+click) cell b12 + c13 + d16 (then run the macro), it will copy/paste the values of those selected cell.
    where as if you are using normal copy/paste in excel (right click + copy), you will be notified "that command cannot be used on multiple sellections"

    now, what i want to achieve is that, when you select cell b12 + c13 + d16, the macro will copy values of cell i12, i13, i16.
    meaning, no matter what cells you selected, it will always copy cell of column "I" (under that same row the cell was selected)

    the closest thing i try, modifying the macro as follows:
    Please Login or Register  to view this content.
    but above modification only allow you to select secificaly cell on column "A" (to get value of cell "I" being copied). if you select column B then it will takes value of column J which not what i was looking.

    sorry for the long post.

    can someone help modify the macro?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro: always copy/paste text from cell "I" (on the same row the was cell selected)

    Try this...

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-05-2012
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Macro: always copy/paste text from cell "I" (on the same row the was cell selected)

    it works ! ! , thank you ....

    you ve made my day AlphaFrog, I LOVE YOU, LOVE LOVE LOVE LOVE LOVE LOVE ......

+ 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