+ Reply to Thread
Results 1 to 6 of 6

How to transfer data from one sheet to another without cut & paste method?

  1. #1
    Registered User
    Join Date
    10-28-2013
    Location
    United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    3

    Post How to transfer data from one sheet to another without cut & paste method?

    Hi
    I have two sheets in attached workbook "Problem sheet". Sheet 1 is "Sem4" and sheet is "results". Sem4 contains roll number & name of students with their internal and external marks scored in particular subject of study (currently int & ext columns are left blank). The sheet "results" contain marks obtained by those students in their respective subjects.
    I want to transfer the marks of each student from sheet "result" to sheet "sem 4" in their respective columns & rows without using copy/paste method. Instead I would like to know whether there is any other way of transfer the data from "result" sheet to "sem 4" sheet either using VB codes/userforms or using some formulas. Doing a transpose method, then copy pasting them is very long & tedious way.

    Can some one help me with suggestion/solution in this regard?

    Thanks
    Jijesh
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-30-2013
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2007
    Posts
    229

    Re: How to transfer data from one sheet to another without cut & paste method?

    It can be done with VBA code. The simplest way, I think, is shown below.
    You can make it more dynamic by finding/setting variable names for the columns in Sem 4 and rows/columns in Result that you are working with.
    You could also display error messages for students with no results.

    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: How to transfer data from one sheet to another without cut & paste method?

    Maybe a template with a copy button:
    Attached Files Attached Files
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    10-28-2013
    Location
    United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to transfer data from one sheet to another without cut & paste method?

    Hi Hectop
    Thank you very much for your valuable suggestion. It seems to work, but since I am not having programming knowledge in visual basic or any other language i am don't understand the entire bit of coding that you have designed in this thread. Would you be able to send me video file explaining it?

    Thanks
    Jijesh

  5. #5
    Registered User
    Join Date
    10-28-2013
    Location
    United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to transfer data from one sheet to another without cut & paste method?

    Hi ProtonLeah
    I think you didnot get me. I want to transfer marks of each student from the "result" sheet into the "S4" sheet without copy& paste function. Instead, I use some mathematical/logical formulas or any using program codes like in visual basic to do the entire job in just one or two mouse click. To let you know the data in the sample attached is of few students only. I have around 65 students in my list with all their mark sheet in one sheet. Hope you can now tap your forehead and get a better solution soon. Looking forward to your intelligent feedback and help.

    Thanks
    Jijesh

  6. #6
    Forum Contributor
    Join Date
    09-30-2013
    Location
    Toronto, ON
    MS-Off Ver
    Excel 2007
    Posts
    229

    Re: How to transfer data from one sheet to another without cut & paste method?

    No, I won't get into video files. If you have specific questions, please ask.

    To start open the sheet you want to have the macro located in.
    You'll need the Develop command on the tool bar
    Click on Developer | Visual Basic to open the VBA editor window
    Click on Insert | Module
    You can then copy the code into the module.
    To run the macro you could click on Developer | Macros | select Consolidate then click on Run

    The code as it sits only deals with the first two subjects. You would need to add the code for the remaining.
    The changes would consist of
    Please Login or Register  to view this content.
    You need to change Col_offset to reflect the column number where you want the mark placed.
    You need to change Row_offset to reflect the row from which you want to pull the mark.

+ 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. Replies: 13
    Last Post: 11-19-2013, 10:28 AM
  2. Need to automatically transfer data from survey sheet to paste sheet.
    By MWD Hand in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-29-2012, 08:03 PM
  3. Transfer sheet method on files with date extension
    By AnthonyWB in forum Access Programming / VBA / Macros
    Replies: 5
    Last Post: 05-17-2011, 10:32 AM
  4. [SOLVED] how to copy an excel sheet with out using paste method
    By jaffar in forum Excel General
    Replies: 6
    Last Post: 05-12-2006, 05:45 PM
  5. [SOLVED] how to copy data with out using paste method
    By jaffar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2006, 07:00 AM

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