VBA Macro to Copy Data to Another Workbook

Поділитися
Вставка
  • Опубліковано 24 сер 2019
  • This Excel VBA Tutorial explains VBA Code to copy data from one workbook to another. Use Workbook Object and Open Method in VBA to Transfer data from one workbook to another workbook.

КОМЕНТАРІ • 87

  • @techgalaxy100
    @techgalaxy100 4 роки тому +2

    Your videos are very helpful and easy to understand brother. Keep up the good work!!

  • @renzohisona1292
    @renzohisona1292 3 роки тому +1

    thanks bro, this helps a lot, big thumbs up

  • @Jishu1987me
    @Jishu1987me 3 роки тому +1

    sir! really nice demonstration, i improvised and expanded avenue on top of this. Best regards!

  • @luyonjostephen8746
    @luyonjostephen8746 3 роки тому

    Thank you boss... How do I select and paste a range of rows and columns rather then an entire row?

  • @kevincoloso5890
    @kevincoloso5890 Рік тому

    Hi thank you for the detailed explanation, I just want to ask one thing, how can i copy the values on the specific cell and not the formula? because the one i want to copy and paste has a formula equal sign to other cell. Thanks!

  • @joyrebello9513
    @joyrebello9513 5 років тому

    what is the Vba code for selecting some particular columns and filtered DATA?

  • @ruchitamehta2050
    @ruchitamehta2050 2 роки тому +1

    Really very useful Video - love from Vienna

  • @neth-5139
    @neth-5139 3 роки тому +2

    Hi what about if i need to paste values not formulas. My cells contain formulas but i need to transfer values

  • @dr.asifali5616
    @dr.asifali5616 3 роки тому +1

    can we apply it in macro-enable workbook ?

  • @leynmandreza5013
    @leynmandreza5013 2 роки тому

    how about vise versa, the destination file is the one have the button copy and I need to get the data to the source that is not open?

  • @ramahirwar1459
    @ramahirwar1459 3 роки тому +2

    Boss.. how can use last row instead of row 12

  • @nikdrenski3003
    @nikdrenski3003 2 роки тому

    Instead of selecting rows, how would one select a cell with a defined name?

  • @jamesmusontong2134
    @jamesmusontong2134 2 роки тому

    hi Sir what about VBA code to copy the the entire data from different sheets in a workbook to a different workbook with the same sheet names from the source data? will kindly appreciate your help

  • @shubhamdimri1328
    @shubhamdimri1328 3 роки тому +1

    what if we just want to copy a single column from source to our destination workbook

  • @muhammadrizwanisrar1599
    @muhammadrizwanisrar1599 Рік тому

    Thanks for very simple and nice video, there is a small error , once we run the code its always selecting only the Row 12 as given.

  • @romanov5635
    @romanov5635 3 роки тому +1

    thank a lot for such great educational video.
    Just want to know to paste data from right to left continuously after some specific time interval.

  • @tusharpatel9447
    @tusharpatel9447 2 роки тому

    Thank you sir, I have one question if i have 2 nos worksheet in excel file with different header in 2 nos. worksheet and i want to transfer data from one worksheet to another worksheet for specific column. Please Help and give idea about VBA

  • @satyasadhannag4004
    @satyasadhannag4004 2 роки тому

    Sir, it is excellent, but my query is that while rows to transferred are not always fixed, what code vb will be there. For example, through vlookup I am to fix certain data with many rows having vlookup formulas there from master data, I want to pastevalues mode in the goal worksheet one by one. Now what will be vb code in this case. Please reply as I am in the stage of not achieved still now after many attempts.

  • @ShivSharma-mk2hq
    @ShivSharma-mk2hq 10 місяців тому

    Sir
    Pls tell me how to record macro in the workbook(in which already some formulae present)

  • @JohnS-er7jh
    @JohnS-er7jh Рік тому

    Thanks for the video. I copied a Macro Workbook to another File. But when I run the Macro it opens the original file containing the macro (I have to manually remove the links the source file under File > Info > Edit Links). Does anyone know a method to copy a Macro Workbook to a New Excel file without having a link automatically established. Thanks.

  • @srinivasgoudmanthapuri2719
    @srinivasgoudmanthapuri2719 2 роки тому +1

    Nice explanation.... 👌

  • @karinak5531
    @karinak5531 4 роки тому +3

    Hi! You video is very helpful! Thanks! But I have a doubt. How can I do if:
    1) I have multiple workbooks in multiple folders and
    2) I need to copy a determined range (F5 to F10) and
    3) paste it in sequencial order in a same sheet in this workbook (example: paste data of first workbook to G5 to G10, and next workbook data in H5 to H10 and so on) till there’s no more workbooks?
    I would appreciate very much if you could help...

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      Thanks for watching. For any Excel VBA Support, you can write to exceldestination@gmail.com

  • @clorisagillard8671
    @clorisagillard8671 4 роки тому +1

    Thank you for the tutorial. Can this also be applied to sheets with subtotals?

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      Thanks for watching! I haven't checked. You can give it a try and let me know also.

    • @srikantab5247
      @srikantab5247 3 роки тому

      @@ExcelDestination Hi, can u plz make a video on copy different cell values from different workbook into a master workbook automatically.? I just need for timesheet for many guys

  • @rahulwagh1678
    @rahulwagh1678 11 місяців тому

    ho to only unique value need to add??

  • @visejdoshi
    @visejdoshi Рік тому

    Hi...I have multiple source workbook range cell to copy in destination file specific range cell. Without opening source workbook. Pls help

  • @akshaytapadiya2239
    @akshaytapadiya2239 4 роки тому +1

    What if i want to copy each row of fix range (e.g. A1 to D1, A2 to D2, A3 to D3....) till row has data and i dont have destination workbook, for every row new workbook should be created with the same headings and one workbook name should be one cell of the copied row

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      This can be done with some additional\different code. If you need that code, send email at EXCELDESTINATION@GMAIL.COM

  • @loucruz5906
    @loucruz5906 2 роки тому

    what if i want to copy from a newly extracted file from sap then to another workbook

  • @dsp5574
    @dsp5574 4 роки тому +1

    Very helpful video but can you please help me I wanted to copy the non adjacent cells and paste in another workbook in a single row and every time it needs to be fill in next emty row.
    Please guide me in this regard
    Thanks

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      For any Excel VBA Project, you can write to exceldestination@gmail.com

  • @user-nl9hy2rx6r
    @user-nl9hy2rx6r 11 місяців тому

    If destination file is password protected, then do we need to share it with source file owners? Possible step to have my "destination file" password protected so "source file" owners will not update old data in my "destination file", but can only add new data in my "destination file" through your VBA code

  • @calvintai1210
    @calvintai1210 4 роки тому

    I have a report that I need to run on a daily basis, on the one tab I have the daily kpis, on another tab I have the MTD data. Can I use VBA to populate the MTD data?

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      yes, you can surely populate MTD data using VBA Programming. For any Excel VBA Automation Project, you can write to exceldestination@gmail.com

  • @guruvenkatavamsi1482
    @guruvenkatavamsi1482 4 роки тому +1

    is there a way ,where we can copy or paste the data with out opening excel work book

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      using code , you can copy and then close workbook. But, I feel without opening excel work book it is not possible in vba. Let me research. using formula, you can give reference in any workbook with another and data will be updated automatically.

  • @bassisessaidexcel
    @bassisessaidexcel 4 роки тому +1

    Merci

  • @user-ch1ie4hg5b
    @user-ch1ie4hg5b 3 роки тому +2

    I have a question about this work . If I need to transfer data form user form to another worksheet . How to do ?

    • @ExcelDestination
      @ExcelDestination  3 роки тому

      For UserForm and Sheet interactivity, you can watch another tutorial at following link :
      ua-cam.com/video/1kpRa0Z6-9g/v-deo.html

  • @laughoorlotolol9540
    @laughoorlotolol9540 3 роки тому +1

    What is the modification in case i have to copy multiple rows?

  • @vanibaby8313
    @vanibaby8313 2 роки тому

    Sir pls explain also for instead of select rows explain for selection address method also.

  • @saymundandre4815
    @saymundandre4815 4 роки тому +2

    good tutorial but how about the destination work book is already open

  • @shabarilucky5
    @shabarilucky5 5 років тому

    How to transfer multiple rows data in other sheet. As above we hv copied only row12.

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      You can check another tutorial at ua-cam.com/video/qGZQIl9JJk4/v-deo.html

  • @salmankhan-ql8tl
    @salmankhan-ql8tl Рік тому

    How to select a path which is in one drive

  • @shahnonu
    @shahnonu 3 роки тому +1

    Do we still need code further if we save, I mean wb nothing onward?

  • @safeerahmed4474
    @safeerahmed4474 3 роки тому +1

    Hi sir I have 2 work books one which is always closed and the other file all the team members uses.. The workbook which is closed gets updated all the time using user form and I want to transfer data from closed workbook to an other active workbook and the command button is on active work book which copies data from closed to active... I need to know the code.

    • @ExcelDestination
      @ExcelDestination  3 роки тому

      you can take help for this task from the below given tutorial :
      ua-cam.com/video/JAMG_jcdxZk/v-deo.html

  • @abhiabrahamthomas2993
    @abhiabrahamthomas2993 4 роки тому

    I got an error saying " Paste method of worksheet class failed" run time error '1004'.
    Could you please advise how to get rid of this error and proceed to pasting the values.

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      without looking at code, I can not say anything, however, you can watch tutorial for Error 1004. Link is
      ua-cam.com/video/-QpqFg6kOPw/v-deo.html

  • @rvas1966
    @rvas1966 4 роки тому +1

    Good one...I need to copy 10 rows of data with 12 columns... every 5 minutes after the updation of data... kindly guide

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      for any excel vba project, you can write to exceldestination@gmail.com

  • @Girirajansjc
    @Girirajansjc Рік тому +1

    Life Saver

  • @waseemlimbaliya6196
    @waseemlimbaliya6196 4 роки тому +1

    1-I have sheet named as master data in which It has multiple ledgers for example Bank, Cash, income, furniture expenses liabilities.
    2- and i have another sheet named as report. In this section i am able to filter the data in report section and i want to export this specific data or ledger into new excel workbook and this new workbook should be saved based on cell refrence of report sheet.
    Please guid me for the above code.

    • @ExcelDestination
      @ExcelDestination  4 роки тому +1

      please share your requirement at exceldestination@gmail.com

    • @waseemlimbaliya6196
      @waseemlimbaliya6196 4 роки тому

      @@ExcelDestination Sir Please Check your email. I have also attached the file. Thanks in advance

    • @waseemlimbaliya6196
      @waseemlimbaliya6196 4 роки тому

      Gentle soft reminder !!! Are you able to sort out my problem?

  • @sanketnarkhede2585
    @sanketnarkhede2585 3 роки тому +1

    How to select rows one by one using for loop

  • @srikantab5247
    @srikantab5247 3 роки тому +1

    Hi, can u plz make a video on copy different cell values from different workbook into a master workbook automatically.? I just need for timesheet for many guys

    • @ExcelDestination
      @ExcelDestination  3 роки тому +1

      ok. let me try.

    • @srikantab5247
      @srikantab5247 3 роки тому

      @@ExcelDestination thanks

    • @srikantab5247
      @srikantab5247 3 роки тому +1

      @@ExcelDestination my requirement is like I have multiple timesheet workbooks. I just want copy specific cell value from different workbooks to a master timesheet workbooks automatically to different cell of a row. For one timesheet one row and next timesheet next row. Without opening multiple timesheets..thanks

  • @alializadeh8195
    @alializadeh8195 2 роки тому +1

    Thanx

  • @srinivasgoudmanthapuri2719
    @srinivasgoudmanthapuri2719 2 роки тому +1

    I want to copy selected range.... Pl reply.. 🙏

    • @ExcelDestination
      @ExcelDestination  2 роки тому

      Sorry sir
      Mr. Vimal Kishor Gupta
      The owner of this channel is no more

  • @funways746
    @funways746 Рік тому

    Can you share code

  • @qamruddinmohammedi7665
    @qamruddinmohammedi7665 3 роки тому +1

    Dear Sir,
    Want transfer data from one workbook to another.
    Workbook - A
    1. Receipt No.
    2. Date
    3. Name
    4. Amount
    To Workbook - B in two different Sheets
    can you please help to write correct VBA code.

    • @ExcelDestination
      @ExcelDestination  3 роки тому

      thanks for your comment. for any excel vba project work, you can write to exceldestination@gmail.com

  • @HarishKumar-xk6zy
    @HarishKumar-xk6zy 11 місяців тому

    Hi

  • @shravankalva
    @shravankalva 4 роки тому

    I have data in sheet one in column A i have item numbers and column B I have item names. I have 1000 rows.
    Out of these 1000 rows, If an item name example Apple is repeated 15 times, then in sheet 2 i need that apple name and randomly only one item number of that 15apples. If an item name example chocolate is repeated more than 16 and less than 25 times, then I need choclate twice and randomly two item numbers of chocolates. If the item name example computer is more than 25 and less than 35 I need in sheet 2 that computer 3 times and three computer numbers randomly.
    Please help me with macros on this.

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      You can watch another tutorial to get some more VBA Code \ Code logic at ua-cam.com/video/qGZQIl9JJk4/v-deo.html

  • @lakshman8208
    @lakshman8208 4 роки тому +1

    video was helpful but at the time of writing code, Please explain the function and use of command used so that we can also learn how to use codes.

  • @audhuttatkare3072
    @audhuttatkare3072 4 роки тому +1

    Hey this code is not working

    • @ExcelDestination
      @ExcelDestination  4 роки тому

      send me your code at exceldestination@gmail.com

    • @audhuttatkare3072
      @audhuttatkare3072 4 роки тому

      @@ExcelDestination hey I sent you the mail.. please check & let me know