+ Reply to Thread
Results 1 to 8 of 8

Copy and paste all rows of merged cells

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    23

    Copy and paste all rows of merged cells

    Hi everyone,

    I am currently working on a macro program where I want to copy and paste (the entire row regardless if the value in the 'Source' sheet is a merged cell or not) the value of combo box from one sheet (Source sheet) to another (Destination sheet) upon clicking the 'Search' button, but I'm not sure if what will be the correct code to do it. I hope you could help me on this.

    Thank you.

  2. #2
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Copy and paste all rows of merged cells

    Quote Originally Posted by Madz0220 View Post
    Hi everyone,

    I am currently working on a macro program where I want to copy and paste (the entire row regardless if the value in the 'Source' sheet is a merged cell or not) the value of combo box from one sheet (Source sheet) to another (Destination sheet) upon clicking the 'Search' button, but I'm not sure if what will be the correct code to do it. I hope you could help me on this.

    Thank you.
    Hello Madz0220,
    Can you please upload a sample excel with what you expected to do?!
    This will help us to help u better...
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  3. #3
    Registered User
    Join Date
    05-25-2016
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    23

    Re: Copy and paste all rows of merged cells

    Hi than_gold,

    Please see attached file for the sample excel.

    thank you
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-25-2016
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    23

    Re: Copy and paste all rows of merged cells

    Hi,

    For an additional information, I just want to display/paste the result of my search button in 'Destination' sheet with the same format from the 'Source' sheet.

    Thank You.


    Regards,
    Madelene Godoy

  5. #5
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Copy and paste all rows of merged cells

    Quote Originally Posted by Madz0220 View Post
    Hi,

    For an additional information, I just want to display/paste the result of my search button in 'Destination' sheet with the same format from the 'Source' sheet.

    Thank You.


    Regards,
    Madelene Godoy
    I didn't use any vba to do this, i've used IF, Iferror formulas. Please check the attached excel for more clarity.

  6. #6
    Registered User
    Join Date
    05-25-2016
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    23

    Re: Copy and paste all rows of merged cells

    Hi Than,

    Just one more question, can I still apply the formulas even if they are in separate sheets (tables with the columns of helper and the one without)?

    Thank you

  7. #7
    Registered User
    Join Date
    05-25-2016
    Location
    Philippines
    MS-Off Ver
    2010
    Posts
    23

    Re: Copy and paste all rows of merged cells

    Hi Than,

    This will work for cells that are not merged. How about for merged cells? How can I display it if I will apply the IF formulas? Please be informed that in my actual file, I have merged cells and I should display it as is. My actual file has the same format with the one that I've attached earlier. It only differs on the data.

    Thank you.

    Regards,
    Madelene

  8. #8
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Copy and paste all rows of merged cells

    Quote Originally Posted by Madz0220 View Post
    Hi Than,

    This will work for cells that are not merged. How about for merged cells? How can I display it if I will apply the IF formulas? Please be informed that in my actual file, I have merged cells and I should display it as is. My actual file has the same format with the one that I've attached earlier. It only differs on the data.

    Thank you.

    Regards,
    Madelene
    Hello Madelene,
    Even I'm checking on any other ways to show as its in the given format.

+ 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. [SOLVED] copy paste transpose data range into merged cells
    By Robn02 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-23-2017, 10:27 AM
  2. Copy cells and paste into a merged cell
    By dontke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2015, 11:06 AM
  3. [SOLVED] copy/paste to merged cells
    By tomanton in forum Excel General
    Replies: 10
    Last Post: 10-17-2013, 09:28 AM
  4. [SOLVED] Copy & paste merged cells between worksheets
    By nc_4080 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-29-2013, 10:46 PM
  5. copy/paste formulas across merged cells?
    By juanzo007 in forum Excel General
    Replies: 2
    Last Post: 11-25-2010, 11:09 PM
  6. Macro to Add Row and Copy/Paste Merged Cells
    By dipitududa2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2006, 09:35 AM
  7. Copy/Paste Merged Cells via Macro is not working
    By Peter Bassett in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2005, 04:06 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