Тёмный

VBA Macro to Copy Data to Another Workbook 

Excel Destination
Подписаться 45 тыс.
Просмотров 69 тыс.
50% 1

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.

Опубликовано:

 

24 авг 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@techgalaxy100
@techgalaxy100 4 года назад
Your videos are very helpful and easy to understand brother. Keep up the good work!!
@ExcelDestination
@ExcelDestination 4 года назад
Glad to hear that!
@Girirajansjc
@Girirajansjc Год назад
Life Saver
@ExcelDestination
@ExcelDestination Год назад
Thanks
@renzohisona1292
@renzohisona1292 3 года назад
thanks bro, this helps a lot, big thumbs up
@ruchitamehta2050
@ruchitamehta2050 2 года назад
Really very useful Video - love from Vienna
@ExcelDestination
@ExcelDestination 2 года назад
Thanks
@Jishu1987me
@Jishu1987me 3 года назад
sir! really nice demonstration, i improvised and expanded avenue on top of this. Best regards!
@ExcelDestination
@ExcelDestination 3 года назад
Excellent
@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!
@luyonjostephen8746
@luyonjostephen8746 3 года назад
Thank you boss... How do I select and paste a range of rows and columns rather then an entire row?
@alializadeh8195
@alializadeh8195 2 года назад
Thanx
@joyrebello9513
@joyrebello9513 4 года назад
what is the Vba code for selecting some particular columns and filtered DATA?
@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.
@neth-5139
@neth-5139 3 года назад
Hi what about if i need to paste values not formulas. My cells contain formulas but i need to transfer values
@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?
@romanov5635
@romanov5635 3 года назад
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.
@ExcelDestination
@ExcelDestination 3 года назад
some extra code would be required.
@rajkumar5461
@rajkumar5461 3 года назад
SIR, HOW CAN WE TRANSFER SELECTIVE DATA FROM ONE SHEET TO SPECIFIC CELL OF OTHER SHEET IN SPECIFIC ROW?
@srinivasgoudmanthapuri2719
@srinivasgoudmanthapuri2719 2 года назад
Nice explanation.... 👌
@ExcelDestination
@ExcelDestination 2 года назад
Thanks
@dr.asifali5616
@dr.asifali5616 3 года назад
can we apply it in macro-enable workbook ?
@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
@nikdrenski3003
@nikdrenski3003 2 года назад
Instead of selecting rows, how would one select a cell with a defined name?
@ramahirwar1459
@ramahirwar1459 2 года назад
Boss.. how can use last row instead of row 12
@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 года назад
what if we just want to copy a single column from source to our destination workbook
@clorisagillard8671
@clorisagillard8671 4 года назад
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
@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.
@karinak5531
@karinak5531 4 года назад
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
@bassisessaidexcel
@bassisessaidexcel 4 года назад
Merci
@ShivSharma-mk2hq
@ShivSharma-mk2hq 9 месяцев назад
Sir Pls tell me how to record macro in the workbook(in which already some formulae present)
@dsp5574
@dsp5574 3 года назад
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 3 года назад
For any Excel VBA Project, you can write to exceldestination@gmail.com
@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.
@akshaytapadiya2239
@akshaytapadiya2239 4 года назад
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
@user-ch1ie4hg5b
@user-ch1ie4hg5b 3 года назад
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 : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1kpRa0Z6-9g.html
@saymundandre4815
@saymundandre4815 4 года назад
good tutorial but how about the destination work book is already open
@sanketnarkhede2585
@sanketnarkhede2585 3 года назад
It gives error I guess
@visejdoshi
@visejdoshi Год назад
Hi...I have multiple source workbook range cell to copy in destination file specific range cell. Without opening source workbook. Pls help
@vanibaby8313
@vanibaby8313 2 года назад
Sir pls explain also for instead of select rows explain for selection address method also.
@user-nl9hy2rx6r
@user-nl9hy2rx6r 10 месяцев назад
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
@guruvenkatavamsi1482
@guruvenkatavamsi1482 4 года назад
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.
@laughoorlotolol9540
@laughoorlotolol9540 3 года назад
What is the modification in case i have to copy multiple rows?
@laughoorlotolol9540
@laughoorlotolol9540 3 года назад
This was sorted, I did it the same day
@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
@loucruz5906
@loucruz5906 2 года назад
what if i want to copy from a newly extracted file from sap then to another workbook
@shahnonu
@shahnonu 3 года назад
Do we still need code further if we save, I mean wb nothing onward?
@ExcelDestination
@ExcelDestination 3 года назад
no
@rahulwagh1678
@rahulwagh1678 10 месяцев назад
ho to only unique value need to add??
@safeerahmed4474
@safeerahmed4474 3 года назад
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 : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JAMG_jcdxZk.html
@rvas1966
@rvas1966 4 года назад
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
@salmankhan-ql8tl
@salmankhan-ql8tl Год назад
How to select a path which is in one drive
@srikantab5247
@srikantab5247 3 года назад
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 года назад
ok. let me try.
@srikantab5247
@srikantab5247 3 года назад
@@ExcelDestination thanks
@srikantab5247
@srikantab5247 3 года назад
@@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
@shabarilucky5
@shabarilucky5 4 года назад
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qGZQIl9JJk4.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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--QpqFg6kOPw.html
@waseemlimbaliya6196
@waseemlimbaliya6196 4 года назад
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 года назад
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 года назад
How to select rows one by one using for loop
@ExcelDestination
@ExcelDestination 3 года назад
for i=1 to 10 rows(i).select next
@srinivasgoudmanthapuri2719
@srinivasgoudmanthapuri2719 Год назад
I want to copy selected range.... Pl reply.. 🙏
@ExcelDestination
@ExcelDestination Год назад
Sorry sir Mr. Vimal Kishor Gupta The owner of this channel is no more
@qamruddinmohammedi7665
@qamruddinmohammedi7665 3 года назад
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
@funways746
@funways746 Год назад
Can you share code
@lakshman8208
@lakshman8208 4 года назад
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.
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qGZQIl9JJk4.html
@HarishKumar-xk6zy
@HarishKumar-xk6zy 10 месяцев назад
Hi
@audhuttatkare3072
@audhuttatkare3072 4 года назад
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
Далее
Excel VBA: Copy Data Between ANY Two Sheets
12:56
Просмотров 117 тыс.
Модные мальчишки
00:36
Просмотров 20 тыс.
Excel VBA to Save Data to Another Workbook
13:03
Просмотров 62 тыс.
VBA Copy Specific Column From Another Workbook
12:41
Просмотров 11 тыс.
VBA Macro to Copy Data from Another Workbook in Excel
13:39
Модные мальчишки
00:36
Просмотров 20 тыс.