+ Reply to Thread
Results 1 to 5 of 5

How to paste value 5 columns to the right

  1. #1
    Registered User
    Join Date
    09-17-2009
    Location
    Brazil, Rio de Janeiro
    MS-Off Ver
    Excel 2007
    Posts
    10

    How to paste value 5 columns to the right

    Hi, I`m trying to copy a cell and paste value of it 5 columns to the right. I`m trying some solutions from others threads but my 'frankstein' isn`t working.

    Here it is:

    Explicit Modules
    Please Login or Register  to view this content.
    I tried using the ".Column + 5" but the excel excluded the "+" ...

    Thanks for the help,
    Regards,
    Luiz

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: How to paste value 5 columns to the right

    This will copy the value of the selected cell to the same row but 5 columns to the right, e.g. A1 to F1

    Please Login or Register  to view this content.
    Do you need this in a loop for an entire column?
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Registered User
    Join Date
    09-17-2009
    Location
    Brazil, Rio de Janeiro
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How to paste value 5 columns to the right

    Hi tehneXus.... thanks a lot. This solved the problem.

    No, I don`t need this in a loop.

    However, is there a way that I can leave the selected cell in any cell of the same row that I want to copy the A column content and paste it at the F column? I mean, leaving the selected cell at the B, C or D column and copy the A column content to the F column?

    Thanks

  4. #4
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: How to paste value 5 columns to the right

    Hi,
    like this`?
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-17-2009
    Location
    Brazil, Rio de Janeiro
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How to paste value 5 columns to the right

    Yes it`s just what I needed dude....thanks a lot!
    Regards

+ 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. macro to add columns after existing columns and copy/paste headers and formulas
    By rhybeka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2013, 02:35 PM
  2. [SOLVED] Copy/Paste multiple columns as values based on another columns criteria
    By Dgp2012 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2013, 06:50 AM
  3. [SOLVED] Faster way to copy and paste multiple columns in Sheet1 to corresponding columns in Sheet2
    By babbeleme1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-19-2013, 12:55 AM
  4. [SOLVED] create workbook and paste data and cut paste columns
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-17-2012, 04:22 AM
  5. Replies: 2
    Last Post: 02-22-2011, 02:07 AM

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