+ Reply to Thread
Results 1 to 6 of 6

Add new row at row 10 in multiple sheets and copy and paste from specific cells

  1. #1
    Registered User
    Join Date
    01-10-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    62

    Add new row at row 10 in multiple sheets and copy and paste from specific cells

    Hi,

    I am in need of help with a VBA. I have multiple worksheets in a workbook. For all worksheets within this workbook I need to add a blank row above row 10 (new row becomes row 10). In this new row I need the following to be gathered from the specific worksheet that the row has been added to;

    A10 = C7
    B10 = B7
    D10 = "Sub Assembly "&Right(B7,2)




    Thank You

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Add new row at row 10 in multiple sheets and copy and paste from specific cells

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-10-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Add new row at row 10 in multiple sheets and copy and paste from specific cells

    John,

    Thank you for the quick response. I believe this is what I am looking for. However, it is currently not working, I think because the data that it is pulling to the cells is coming from merged cells? Do you think this is the issue? If so do I have to un-merge the cells? Or is there something else I can do?


    Thanks

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Add new row at row 10 in multiple sheets and copy and paste from specific cells

    Merged cells are probably the cause. Can you attach a sample with your layout showing where this happens?

  5. #5
    Registered User
    Join Date
    01-10-2012
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Add new row at row 10 in multiple sheets and copy and paste from specific cells

    Merged Cells are definitely the case. I reformatted my spreadsheet and removed the merged cells. It then worked perfectly! Thanks for your services.

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Add new row at row 10 in multiple sheets and copy and paste from specific cells

    You're welcome. Glad to help out and thanks for the feedback.

+ 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 copy specific color cells frm multiple sheets & paste link to other similar wrkbk
    By rahulmalhotra in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-05-2013, 11:23 AM
  2. Need to copy ranges from multiple sheets then paste to sheet under specific headers
    By the duke in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2013, 12:17 AM
  3. macro to copy specific cells from multiple sheets
    By Costasg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-24-2012, 09:34 AM
  4. [SOLVED] Conditionally Copy Cells from Multiple Sheets and Paste in Another Workbook
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-07-2012, 09:22 AM
  5. Replies: 3
    Last Post: 11-18-2008, 09:22 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