+ Reply to Thread
Results 1 to 17 of 17

how to insert rows including data from another sheet in same workbook

  1. #1
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    how to insert rows including data from another sheet in same workbook

    Hi Experts,

    This forum has always been beneficial for me with regard to excel problems.
    here attached my sample workbook alongwith a question in it. please review and solution will be highly appreciated.

    thanks
    Abdul Rouf
    Attached Files Attached Files
    Abdul Rouf Roofi

  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: how to insert rows including data from another sheet in same workbook

    Maybe:

    Please Login or Register  to view this content.
    Not sure which Column had the Scholarship

  3. #3
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    Dear John,
    Thank you for quick response.

    please apply this code on my sample sheet and reattach if not inconvenient.

    thanks
    Attached Files Attached Files

  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: how to insert rows including data from another sheet in same workbook

    Copy of example-1.xls (218.5 KB)
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    Dear John
    Your code returns code error 400. please review

    thanks

  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: how to insert rows including data from another sheet in same workbook

    The code worked when I tested it without error. Not sure it does exactly what you want. Do you have any sheets which are hidden?

  7. #7
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    No dear no hidden sheet. i am opening the same sheet attached by u.
    please check

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

    Re: how to insert rows including data from another sheet in same workbook

    I tested it again twice and it worked? No errors.

  9. #9
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    ok thanks brother. sorry to bother you........

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

    Re: how to insert rows including data from another sheet in same workbook

    You're not bothering me. I just can't duplicate your error. Sorry, I couldn't help you further. I hope you find a solution.

  11. #11
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    dear John,

    sorry there was problem at my end. your code is working thats nice..........
    but it still need some update. please review my question inside the sheet.

    thanks
    Attached Files Attached Files

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

    Re: how to insert rows including data from another sheet in same workbook

    Maybe:

    Please Login or Register  to view this content.

  13. #13
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    thank you John

    you are a great contributor. sorry but your professional approach made me greedy to ask more questions on this sheet.
    your code working now but there is one thing to update i mentioned in the worksheet.

    thanks
    Roofi
    Attached Files Attached Files

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

    Re: how to insert rows including data from another sheet in same workbook

    Try this:

    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    Dear John
    you are great. its solved now.
    just one thing that in colum "A" new serial no should be generated starting from 1

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

    Re: how to insert rows including data from another sheet in same workbook

    Ok, then maybe:

    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    06-07-2013
    Location
    Pakistan
    MS-Off Ver
    Excel 2013
    Posts
    167

    Re: how to insert rows including data from another sheet in same workbook

    Dear John,
    I have been using your code. it is perfect and serving the purpose but i need one change in it. Please be appreciated if solved.

    I want to use this code in a seperate workbook and extract data from other workbook. format is same.

    thanks
    Last edited by roofi; 08-05-2013 at 04:40 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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