+ Reply to Thread
Results 1 to 4 of 4

copy last 3 columns to next with tile cell merged

  1. #1
    Registered User
    Join Date
    10-31-2014
    Location
    canada
    MS-Off Ver
    2007
    Posts
    64

    copy last 3 columns to next with tile cell merged

    Hi,

    I want to copy last 3 columns in a worksheet to next. The issue is the title for these 3 columns are merged. see attached. For example, I want to copy columns G, H and I to J, K and L. Can anyone help me produce this code? I tried to use the method "last cell or last column", but it does not work.

    thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,537

    Re: copy last 3 columns to next with tile cell merged

    Get rid of the merged cells. Use Center Across Selection instead.

    Please Login or Register  to view this content.
    If you don't want to change it manually, use this.
    Merged cells are known to give problems. Maybe not today but in the future more than likely.

    Please Login or Register  to view this content.
    Last edited by jolivanes; 11-06-2019 at 07:41 PM. Reason: Additional info added

  3. #3
    Registered User
    Join Date
    10-31-2014
    Location
    canada
    MS-Off Ver
    2007
    Posts
    64

    Re: copy last 3 columns to next with tile cell merged

    Wow, thanks a lot. The code works perfectly. Also, I learned something new (Center Across Selection).

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,537

    Re: copy last 3 columns to next with tile cell merged

    Good to hear that all is well.
    Good Luck

+ 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. Merged cell error on copy/paste, but no merged cells
    By OmniBlue in forum Excel General
    Replies: 3
    Last Post: 07-15-2019, 02:15 PM
  2. Copy Cells Across Merged Columns
    By mike2246 in forum Excel General
    Replies: 1
    Last Post: 01-18-2019, 12:20 AM
  3. [SOLVED] I can't filter columns - possibly due to a merged cell?
    By rayted in forum Excel General
    Replies: 5
    Last Post: 02-15-2018, 11:57 AM
  4. Replies: 5
    Last Post: 03-17-2017, 06:32 PM
  5. [SOLVED] Macro to copy from Merged Cells (Same Range) to Columns of a New Worksheet
    By 2977cc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2015, 11:10 AM
  6. Copy from merged cell to merged cell
    By rgarber in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2010, 01:12 AM
  7. [SOLVED] Copy merged cell, paste as merged cell
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2009, 02:35 PM

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