+ Reply to Thread
Results 1 to 8 of 8

Pasting cells from one worksheet into another

  1. #1
    Registered User
    Join Date
    11-04-2009
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Exclamation Pasting cells from one worksheet into another

    Hi,
    Can anyone help me? SEE ATTACHED SPREADSHEET FOR EXAMPLE OF PROBLEM.
    I want to paste cells from one sheet into another but when I do I want to paste the cells into the "College" column (Far left column in the green TAB : Required Format) so that the data acts as if I have iinserted an equivalent number of rows. The data is sourced from from the blue TAB : Transposed Data. Currently I have to insert the equivalent blank rows first and then paste the data in from the other sheet (very laborious). ANy help would be greatly appreciated.
    John Ivanac
    Sydney Australia
    Attached Files Attached Files
    Last edited by John Ivanac; 11-08-2009 at 06:39 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pasting cells from one worksheet into another

    Try this macro on your sheet as it exists now...
    Please Login or Register  to view this content.
    You can change the sheet names in red if needed.
    =========
    How to use the macro:

    1. Open up your workbook
    2. Get into VB Editor (Press Alt+F11)
    3. Insert a new module (Insert > Module)
    4. Copy and Paste in your code (given above)
    5. Get out of VBA (Press Alt+Q)
    6. Save your sheet

    The macro is installed and ready to use. Press Alt-F8 and select CollegeReport from the macro list.
    Attached Files Attached Files
    Last edited by JBeaucaire; 11-05-2009 at 02:11 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    11-04-2009
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pasting cells from one worksheet into another

    Hi Mr Baudelaire,
    Thanks so much for getting back to me so quickly ( lightning fast actually!) - I will try the coding soon.
    Thanks again
    John
    Sydney Australia

  4. #4
    Registered User
    Join Date
    11-04-2009
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pasting cells from one worksheet into another

    Hi Jbaulaire,
    Here's another challenge and it relates to the same worksheet and macro- can you recode it for the following "xtra" conditions?
    1 Insert extra blank row for each set of copied cells
    2 for each set of student enrolments have a total (autosum) appear at the bottom of each set of numbers (column 3)
    3 Have a Total appear at the bottom of the table alomng with a text name (Column 1) - as per the attached sheet (macro enabled)
    Thanks again
    You are a genious!
    John
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pasting cells from one worksheet into another

    Use this version:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-04-2009
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pasting cells from one worksheet into another

    Great job again !
    Thanks for this - it will save hours and hours of laborious work in the future.
    Regards from down under
    John

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pasting cells from one worksheet into another

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

  8. #8
    Registered User
    Join Date
    11-04-2009
    Location
    Sydney Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pasting cells from one worksheet into another

    OK _ will make sure I do.
    Thanks again
    John

+ 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