+ Reply to Thread
Results 1 to 5 of 5

can't Paste Copied Range into individual merged rows cells on another workbook

  1. #1
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Smile can't Paste Copied Range into individual merged rows cells on another workbook

    Hi all, I just finished writing code to copy data from a separate closed Data Worksheet and pasted in the file "Dash Board Shell1" I'm using. I only know how to paste the copied range into rows that are unmerged, like I have done here in my test. Rows A33 and on was pasted data from my code
    Screenshot - Dashboard2.jpg

    but in reality every 5 rows in my worksheet starting from A3 all the way down will be merged and considered one row, and I want to paste the data I pasted in the first picture (A33 and on) individually in each of the merged cells in column A down
    Screenshot - Dashboard.png

    Here is the code I have written so far to execute this command, which works:

    Please Login or Register  to view this content.

    I know somewhere after the Paste Special is where it is possible to write code to paste within merged rows individually but no idea how to do this. If anyone knows I would really appreciate the help as I am getting pretty discouraged. And no I cannot unmerge the rows, they must stay merged because data in further columns if you scroll gets segmented


    PS: for privacy reasons I could not upload the actual worksheets sorry, I could only put pictures with black out blurs

    Much appreciated!
    Last edited by lougs7; 09-29-2015 at 03:49 PM.

  2. #2
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: can't Paste Copied Range into individual merged rows cells on another workbook

    The range I am aiming to Paste the array I copied is starting from A3 in my Worksheet. I put A33 in my code only for testing purposes

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: can't Paste Copied Range into individual merged rows cells on another workbook

    You need to edit your first post, see below.

    Merged cells cause problems, it's best not to use them.

    If you are not going to upload your workbook maybe the link below will help.

    Center across selection.


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  4. #4
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: can't Paste Copied Range into individual merged rows cells on another workbook

    sorry about that, and I cannot upload the Worksheets like mentioned as it is private for my firm
    Last edited by lougs7; 09-29-2015 at 03:51 PM.

  5. #5
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: can't Paste Copied Range into individual merged rows cells on another workbook

    Why can't you replace confidential information with dummy information?

    Real person name with fictitious name, real account number with fictitious account number? You are showing screen shots with a few blacked out cells. If the real sheet is hundreds of rows make a copy delete all but 10 rows or so, whatever it takes to see your issue, and then change the sensitive data. Use the real workbook, we need the structure to be exact as well as sheet names etc.

    Quote Originally Posted by lougs7 View Post
    sorry about that, and I cannot upload the Worksheets like mentioned as it is private for the my firm

+ 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] Change VBA to insert copied rows not paste them.
    By baby_kay_2003 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 10-09-2014, 02:08 AM
  2. [SOLVED] Help with code to paste copied data into a destination workbook
    By Grizz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2014, 06:27 AM
  3. Replies: 1
    Last Post: 04-22-2013, 10:34 AM
  4. [SOLVED] Copying Active Cell-Row-Range to Other Workbook is pasting an image of copied range
    By jrtraylor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2013, 01:08 AM
  5. Copy full row then paste to another workbook horizontally last 5 copied cells
    By raemon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2012, 01:41 PM
  6. looking for an empty row to paste a range of copied cells
    By jayers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2009, 10:12 PM
  7. Counting individual coloured cells that are merged.
    By JohnSan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2008, 01:11 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