+ Reply to Thread
Results 1 to 11 of 11

VBA code for copy data from closed workbook to "Data " sheet of current workbook

  1. #1
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    VBA code for copy data from closed workbook to "Data " sheet of current workbook

    Dear Members,

    I am looking VBA code for copy data from another workbook to last row of "Data " sheet of current workbook . I have to copy data as per below.

    copy from "I" column of another workbook and paste to "A" column of current sheet
    copy from "A" column of another workbook and paste to "B" column of current sheet
    copy from "B" column of another workbook and paste to "C" column of current sheet
    copy from "C" column of another workbook and paste to "D" column of current sheet
    copy from "N" column of another workbook and paste to "E" column of current sheet
    copy from "O" column of another workbook and paste to "F" column of current sheet
    copy from "R" column of another workbook and paste to "G" column of current sheet
    copy from "P" column of another workbook and paste to "H" column of current sheet
    copy from "Q" column of another workbook and paste to "I" column of current sheet


    I required option for select file.


    Any help is appreciated


    Regards,
    Nandkumar S.
    Last edited by satputenandkumar0; 03-12-2014 at 05:12 AM.
    Regards,
    Nandkumar S.
    ---------------------------------------------------------------
    Don't forget to Click on * if you like my solution.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: VBA code for copy data from another workbook to "Data " sheet of current workbook

    Hi,

    Can I just ask you about the code you've "started to write"?

    What, for example, are each of the variables you've declared?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from another workbook to "Data " sheet of current workbook

    No sir .I can't write next to it. I have not good knowledge of VBA

    Thanks for reply

  4. #4
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from another workbook to "Data " sheet of current workbook

    bump post .

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: VBA code for copy data from another workbook to "Data " sheet of current workbook

    But you said that you started to write the code? I just wanted to get an understanding of the reasons for your declarations so far.

    Regards

  6. #6
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from another workbook to "Data " sheet of current workbook

    Respected sir,

    I had browse for vba code on net, and tried to edit it as per my requirement. But I couldn't.
    Last edited by satputenandkumar0; 03-12-2014 at 06:01 AM.

  7. #7
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from another workbook to "Data " sheet of current workbook

    bump post .

  8. #8
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from closed workbook to "Data " sheet of current workbook

    bump post .

  9. #9
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: VBA code for copy data from closed workbook to "Data " sheet of current workbook

    Three bumps, already?

    And I notice you've now removed "your" attempt at the code from your original post...

  10. #10
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from closed workbook to "Data " sheet of current workbook

    Any body has solution on this

  11. #11
    Forum Contributor satputenandkumar0's Avatar
    Join Date
    11-08-2012
    Location
    Pune, India
    MS-Off Ver
    Office xp & Office 2007
    Posts
    398

    Re: VBA code for copy data from closed workbook to "Data " sheet of current workbook

    Hi members,

    I have recorded macro. Please find below.

    Please Login or Register  to view this content.

+ 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. [SOLVED] Code to copy data from a closed workbook and paste in active workbook using named range.
    By paullie1912 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-28-2014, 02:38 AM
  2. Copy Data from Closed workbook (bbb.xls) to Open workbook (aaa.xls) (Part 2)
    By alexnkc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2013, 02:06 AM
  3. [SOLVED] Copy Data from Closed workbook (bbb.xls) to Open workbook (aaa.xls)
    By alexnkc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-22-2013, 03:24 AM
  4. VBA code to copy data from specific worksheets from current workbook to a new one
    By Uday2013 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-01-2013, 12:15 PM
  5. Macro to copy over and paste data in to a work sheet from a closed workbook
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2009, 04:04 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