+ Reply to Thread
Results 1 to 7 of 7

Copy Data from Another Worksheet and Paste it to Another Worksheet

  1. #1
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Copy Data from Another Worksheet and Paste it to Another Worksheet

    Hello, could you please help me with this, I just want:


    In Sample.xlsm:

    Commandbutton1 to

    - to open existing excel file and hold it. (Ex: Output_Template.xlsx)


    Commandbutton2 to execute this procedure:

    2. In Sample.xlsm (Sheet1): Copy Column A2:X (to LAST COUNT OR ROW) - FROM Sample to Output_Template("Consolidated Core")


    3. Paste it to Column E in Output_Template("Consolidated Core) to the last row of existing data.

    4. Filter Column L, if status is "On QUeue" then write UC in Column D else "C".

    5 Now Filter Column K, If Column K contains "EMCC", then write "EMEA EMCC" to Column D to it.

    6. Done Copying Consolidated data, now Filter Column E, if Column E is EMEA CORE then cut the data and paste it to "Core-Data Sheet for the Week" Sheet to be added it to the last row, else Paste it
    to "EMCC- Data Sheet for the Week" Sheet to be added to the last row.

    7. Back to "Consolidated Core" and filter it, If Column L is "Chaser or Exceptions" then cut it and paste it to "ADHOC CORE" sheet to be added to the last row.

    8. Then Back to "Consolidated Core", if Last row of Column A is W2 then next row will be W3 depending on the last row of Column D so on and so forth (If W3 then next is W4...)

    I've the atttached the files. Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Copy Data from Another Worksheet and Paste it to Another Worksheet

    can anyone help me on this?

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy Data from Another Worksheet and Paste it to Another Worksheet

    Any reason for this
    Commandbutton1 to

    - to open existing excel file and hold it. (Ex: Output_Template.xlsx)
    You can have one command button itself which does the entire task.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Copy Data from Another Worksheet and Paste it to Another Worksheet

    Hi arlu, nothing special with that, it's just I want . Also, i just want a textbox right of it so the path will be visible.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy Data from Another Worksheet and Paste it to Another Worksheet

    Also, i just want a textbox right of it so the path will be visible.
    You want the textbox to reflect the path of the file once the button is clicked?

  6. #6
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Copy Data from Another Worksheet and Paste it to Another Worksheet

    I mean, when Commandbutton1 is clicked, user will browse the file, and once user have choose the file, the path of the file will be reflected to the textbox.

  7. #7
    Forum Contributor
    Join Date
    02-26-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    367

    Re: Copy Data from Another Worksheet and Paste it to Another Worksheet

    any one can help me please.

+ 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