Excel VBA: Copy Data from one Sheet to Another (Absolute Vs. Relative Macro Recording)

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 376

  • @LeilaGharani
    @LeilaGharani  10 месяцев назад

    Grab the file I used in the video from here 👉 pages.xelplus.com/vba-copy-data-file

    • @itisrahul1706
      @itisrahul1706 6 месяцев назад

      This link doesn't work after I enter my details. Could you please check?

  • @MsThing81092
    @MsThing81092 4 года назад +5

    I have watched a lot of videos on excel formulas and vba macros, and you are by far the best at explaining these concepts and methods in a way that sticks. When I'm writing formulas or macros, I hear you in my head -- like when I'm writing an Index Match formula. Thank you for all of your wonderful videos! ♡

    • @LeilaGharani
      @LeilaGharani  4 года назад +2

      Many thanks for the kind feedback. I'm glad you like the videos :)

  • @Pankaj-Verma-
    @Pankaj-Verma- 6 лет назад +48

    You might not know but you are great at what you do. May your future be the Brightest. Thank you for bringing such incredible knowledge to us.

  • @gouravkohli4573
    @gouravkohli4573 4 года назад +5

    Omg!! your voice is just harmony to my ears thanks for all these pro videos

  • @dontbeafraid5313
    @dontbeafraid5313 5 лет назад

    You are the only lady teacher I am listening to right now. Easy to follow

  • @wmfield152
    @wmfield152 4 года назад +4

    I just ran across this video while searching for something else. It so happened that I needed to do this very thing in my current project. I don't believe I would have been imaginative enough to record absolute and relative in one procedure. Not only does it get the job done, it is simple and uncluttered. This was a big help. Thanks again L!

  • @Ssam33r121
    @Ssam33r121 8 месяцев назад

    I like her way of talking. I wish I could be like her. She explains in a way that I really like. Thanks Ma'am.

  • @bhupeshatpune
    @bhupeshatpune 2 года назад

    Hello Ms. Leila, you are one of the best teacher I have seen. Thanks lot for tutorials.

  • @thomasguiavarch1506
    @thomasguiavarch1506 2 года назад

    You just gave me a solution of a problem I'm trining to solve from three entire days of research on forums and RUclips videos. Many thanks 🙏

  • @theterracegardeningchannel5539
    @theterracegardeningchannel5539 2 года назад

    Anytime i need a solution to any Excel Problem this is the place i find the perfect solution i need.. Thanks a ton :) :)

  • @MIrshadIqbalRao
    @MIrshadIqbalRao 4 года назад +1

    No doubt its a Great work,
    Till today I use the below technique to perform this job
    Range("A8").Select
    Selection.End(xlDown).Select
    a = ActiveCell.Column
    b = ActiveCell.Row
    Cells(b + 1, a).Select

  • @jeanroldson
    @jeanroldson Год назад +1

    This is a great explanation. This is what I needed. You explain the differences and logic of how they work.

  • @tsgtwright1437
    @tsgtwright1437 6 лет назад +2

    Outstanding Ms Gharani. I've learned so much from you over this past 18 months

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      I'm very happy to hear that. Thank you for your support over the past 18 months :)

  • @amitfore
    @amitfore 4 года назад

    The Most valuable Video for a Beginner who wants to learn how to run Macro in Excel. Thanks for the this awesome lecture.

  • @fahadhassan3291
    @fahadhassan3291 6 лет назад

    Awesome Explanation. Many months before i started learning VBA Excel but couldn't successful because explanation of that man was not looked professional and he use just Inputbox and msgbox to show results of coding.
    Now you are teaching EXCEL VBA and i hope, i will learn perfectly and professionally. as i learned before INDEX, match, offset and their techniques to use.
    Thank You so much for great Explanations.

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      Thank you Fahad! I'm very glad to hear you find the explanations easy to follow. It took me a while to add VBA to my courses, because like you say, it's a difficult topic to teach. It took a lot of thinking in creating and defining the outline and flow of the course. I'll share what I can on RUclips as well. Just now I posted a video regarding range references. If you're interested, check it out. Wish you all the best with your learning.

    • @fahadhassan3291
      @fahadhassan3291 6 лет назад

      Thank You so much for suggesting. Last night i saw all your 3 videos on VBA and also practiced. You cover many important things as for beginners. I didn't learn many month ago enough that you cover in one video. Keep it up. Great Work. Very Happy To Learn By You.

  • @robvillegas216
    @robvillegas216 Год назад

    You rock Ms Excel. You save me a lot of time an effort and not to mention. just sent my work in. You're a Godsend

  • @rakeshkumarmadella7955
    @rakeshkumarmadella7955 6 месяцев назад

    Hi Leila, thank you for so much you are the best teacher we can ever have... I love this channel a lot... i learned many things from you channel and download the sheets and working on it every day.. God bless you abundence

  • @1gopalakrishnarao
    @1gopalakrishnarao 6 лет назад +2

    Thank you Madam, long pending work just materialized, Your way of explaining the things is very beautiful, simple and memorable. Thanks a lot. Waiting very eagerly to learn some more tricks/tips/techniques. You are very lucky, many many followers are appreciating your great work and the love for Excel is growing everyday. BIG SALUTE

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      Thank you very much Gopala - Yes - finally macros and VBA :) I'm glad the love for Excel is growing every day. I appreciate your support and the support of all other followers.

    • @1gopalakrishnarao
      @1gopalakrishnarao 6 лет назад +1

      Thank you very much Madam

  • @nattawut_chatwiriyacharoen
    @nattawut_chatwiriyacharoen 4 года назад +1

    Thanks Leila. I like the way you explained techniques. It's easy to understand, and your method is cool.

  • @franckchoserot9913
    @franckchoserot9913 2 года назад +1

    Great as always ! Thanks Leila, you are my bible !

  • @priyaa0512
    @priyaa0512 6 лет назад +2

    Really loved your narration n crisp clear explanation with calm tone.Great job!👍 Thanks for the new chapter

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      You're very welcome. Thank you for your comment. I'm glad you like the pace of the tutorial.

  • @MohammadAshooryan
    @MohammadAshooryan 6 лет назад

    you have a well way to teach excel and now vba too,with simple example and step by step, I learn from you for doing better in writing formula and now i'm trying to learn vba.with youre first lecture about know how and when turn on/off relative reference in recording macro.this is the good start to learn it, I see what happend when i do somthing.very very thank you.

    • @LeilaGharani
      @LeilaGharani  6 лет назад +1

      I'm really happy to hear that Mohammad! Thank you for the very nice comment. Yes Macros are really powerful and actually quite easy to use. This week we'll see some more on macros. Thank you for the support.

  • @catherinefrederick659
    @catherinefrederick659 4 года назад

    I have watched at least 6 videos trying to accomplish what you just taught. Thank you so much!

  • @09shirish
    @09shirish 6 лет назад +1

    i'm learning excel from you. You are my Master to develop me. I learn so may ideas from you (its 40-50%), its better for me. How can I told you, their is no words to say ! I cannot speak and write good english, but from your tutorial i can something to write and speak english, i'm leaving in tribal area. So mam thanks a lot. Mam now a days from your tutorial i'm interested in basic VBA.

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      Thank you so much for your very nice message Shirish! I'm very happy to hear you find the tutorials useful. Thank you for watching and for your support.

  • @sarwansingh9423
    @sarwansingh9423 4 года назад

    You know everything to explain....in clarity...thanks again

  • @pratikborkar
    @pratikborkar 4 года назад +1

    Haven't seen any best teacher than you, looking froward to watch all the vids on ur channel

  • @fareedbadar8793
    @fareedbadar8793 6 лет назад +4

    As always, this time also you explained the subject in a simple and beautiful manner. It is very helpful for us.
    Thank you

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      I'm very happy to hear that. Thank you Fareed.

  • @devika01dd
    @devika01dd 4 года назад +3

    Hi Leila, I have seen a few of your videos. They are really useful and I absolutely love how you teach! You do a great job.

  • @parmarboyz
    @parmarboyz 5 лет назад

    This is what I was looking for. Tried on many blogs but finally found it here.....Thank you!!!! Perfect Video.... :))

  • @excelisfun
    @excelisfun 6 лет назад +14

    Thanks for the cool video about Relative and Absolute References in VBA !!!

    • @LeilaGharani
      @LeilaGharani  6 лет назад +5

      You're very welcome teammate Mike :) I'll be switching to some VBA fun for a little bit....

    • @rockmetal377
      @rockmetal377 6 лет назад +2

      @@LeilaGharani you guys are frineds?.. Excells Fun is like my old teacher and now Leila is my university teacher.. Respect for both of you.

  • @utujecleopatra3450
    @utujecleopatra3450 2 года назад

    You saved me nothing beats the feeling of an assignment well done 😁😁

  • @ismailismaili0071
    @ismailismaili0071 6 лет назад +1

    thank you so much ms. Leila I think it's my chance to learn macros really appreciate your video

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      You're very welcome Ismail. Macros are a lot of fun. It gets more fun when we get to tweak the macros and adjust them to our needs...

  • @esbi1124
    @esbi1124 4 года назад +1

    I've just used it. Really useful. Thanks again.

  • @osamsadsamir2848
    @osamsadsamir2848 Год назад

    Damn, after one video i'm the best VBA user of my organization 😂
    Can't imagine when i finish all your videos
    Thanks so much Great Teacher Leila

    • @LeilaGharani
      @LeilaGharani  Год назад

      Haha, that's awesome! 😄 Glad the video was helpful. Keep learning!

  • @astuteacerbic
    @astuteacerbic 5 лет назад

    Hey Leila. Thanks for sharing this awesome knowledge. Not only does it help me in my work but it seems i look forward to learning with you and every day I learn something new. You are also very pretty. Keep it up

  • @tahirshah6979
    @tahirshah6979 5 лет назад

    Thanks for showing that we can use both relative and absolute options in single recording.
    You are very intelligent.

  • @miraskhabibulla1345
    @miraskhabibulla1345 4 года назад

    Leila Gharani, you are amazing! Many thanks to your effort and comprehensive explanation!

  • @Raining76
    @Raining76 4 года назад

    U r the best .. thank you for your time and effort in these trainings

  • @shardulshinde7309
    @shardulshinde7309 5 лет назад

    Excellent Video.. Really made it simple to understand and work with macros.. keep up the good work.

  • @konli
    @konli 2 года назад +1

    man I have trying to do this for years
    Thank You !!!!

    • @konli
      @konli 6 месяцев назад

      start learning power query , I use to download several spreadsheets about 35 each month and copy it to the spreadsheets by customer.
      it took me a lot of work to automate The process!!
      With macros and ChatGPT !
      I have a macro that ask me what file to open and where to copy them and then ask me if I want to save the file and if I want to open a new one.
      Before power query I had a formula to take care of the variable of the size of the different sheets.
      Started on a new payroll proyects using power query and macros and its a lot more faster.
      Dont worry no more on the size of the worksheet, with the tables of power quey
      Thank You Leila !

  • @olabodeolujomoye
    @olabodeolujomoye 2 года назад

    Thank you Leila. Super awesome stuffs 👍🏾

  • @vksvishwa
    @vksvishwa 4 года назад

    Beautifully explained in a very simple and effective way. Thank you.

  • @kadermeeran8816
    @kadermeeran8816 5 лет назад

    Seriously You are Amazing in explaining in detail. Thank you for doing such a noble Job.I have seen many excel tutorial but your explanation worth watching and entertaining.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      I'm very happy to hear that the tutorial is helpful.

  • @akileshsharma2523
    @akileshsharma2523 4 года назад

    Hi Leila, I would like to thanks for this class. I really understood very easily.

  • @tungnguyen363
    @tungnguyen363 3 года назад

    Thank you SO MUCH! Your explanation was GOLD. You made it so easy to understand and it helped me with my work!

  • @yetut2146
    @yetut2146 Год назад

    I don't need it for now. I just love watching good stuff

  • @mongise7en
    @mongise7en Год назад

    Awesome! Although you missed to teach or show how to remove the range referencing to A1 for relative macro recording. And you are right, it still works.

  • @narendrangananathar8107
    @narendrangananathar8107 3 года назад

    Thank you Leila, great piece of work, thanks for sharing with us. It helped me immensely and I appreciate your efforts!

  • @harrypriestley2105
    @harrypriestley2105 2 года назад

    Extremely useful thank you!

  • @AhmadMohassebElroby
    @AhmadMohassebElroby 3 года назад +1

    Can you tell me why I press on like button before I watch video!!!
    I’m still learning more from all videos, thank you so much.

  • @Bijudevadas
    @Bijudevadas 4 года назад +1

    Very useful tutorial. It will be further useful if could put another tutorial for how to copy data from summary sheet to different sheets based on some criteria using VBA

  • @ckokse
    @ckokse 6 лет назад +2

    Wow, this is amazing! I am so looking forward to your complete course on VBA. Looks like I will be busy studying for a while 😍

    • @LeilaGharani
      @LeilaGharani  6 лет назад +3

      Glad you like it! You should for sure put some time aside. But the good news is you have life-time access so you can go slowly but surely :)

  • @blrdls
    @blrdls 3 года назад

    THANK YOU! I was not aware there was such a thing as Relative Recording until now.

  • @theenlightened1s
    @theenlightened1s 5 лет назад

    Thank you.. You posted this video at the exactly the right time I needed this..

  • @jaouadbelkhalfi1235
    @jaouadbelkhalfi1235 4 года назад

    Excellents presentation and work. thank you !

  • @johnborg6005
    @johnborg6005 6 лет назад +1

    Amazing Leila. I am not much into Macro recording. I am more of a formula person thanks to Mike :) but this was very interesting and I will surely follow your coming videos to learn new staff, maybe I will learn some VBA from you. Thanks

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      You're very welcome John! I understand - I love formulas too. Macros are really great though for automating routine tasks. I'm curious what you think about the next videos...

  • @rosamaulini177
    @rosamaulini177 6 лет назад

    Always clear and easy to follow. Really appreciate your videos. Thank you!

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      You're very welcome Rosa. Thank you for your comment and your support.

  • @mihretabneway6811
    @mihretabneway6811 4 года назад

    Hey Leila, awesome tutorial and you explained it very neatly and in simpler ways.

  • @esbi1124
    @esbi1124 4 года назад +1

    Hello, really good. Thanks a lot.

  • @1ammotivatedphl162
    @1ammotivatedphl162 4 года назад

    I just subscribe to your channel since Ive learned new macro today!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      That's great. Glad to have you here :)

  • @abdallah.kandiel
    @abdallah.kandiel 6 лет назад

    Welcome back
    Shining as always

    • @LeilaGharani
      @LeilaGharani  6 лет назад +1

      Many thanks! You're back too :)

    • @abdallah.kandiel
      @abdallah.kandiel 6 лет назад +1

      Leila Gharani
      Can't mess ur news
      I just reviwing some of ur past videos
      How amazing
      Really thanks
      Wishing u the best of every thing

    • @LeilaGharani
      @LeilaGharani  6 лет назад +1

      Thank you! All the best to you too.

  • @yog146
    @yog146 3 года назад

    Thanks a lot ❤️❤️❤️ .. I was struggling with one error & didn't know how to find solution inspite of doing everything right. Seeing this video I realised my mistake.

  • @JI9131
    @JI9131 6 лет назад

    excellent, with the advantage of absolute and relevant reference working together

  • @momtazuddin8841
    @momtazuddin8841 4 года назад

    What VBA is:
    VBA (Visual Basic for Applications) is programming language for all office applications. It is still something that should be learned and can easily differentiate you from other Excel users. You can automate the recurring tasks, which you do regularly and repeatedly, through basic VBA programming. Each of the office products has its backstage for programming. You can make EVENTS for any of the Commands that you see on the front-end Ribbon menu. EVENTS are the series of commands written in VBA project.
    Automation through VBA:
    The owner of 20 hotels has revenue data for the year to date 2020. He needs to view monthly data by hotels at a glance and needs to create a Chart for this. If his Excel operator knows to work only at the user interface, the front-end of Excel, then it will take two hours or more for him to consolidate data from several sheets and take to a pivot source and then make a pivot table and a pivot chart. Whereas this can be automated in VBA and can be used later just on click.
    Here is an example of this automation which you may like to watch.
    facebook.com/VBA-Expert-Momtaz-103391721501133/

  • @johnborg5419
    @johnborg5419 3 года назад

    Thanks Leila. Very Interesting!!! :) :)

  • @marcellokassa6975
    @marcellokassa6975 6 лет назад

    Thanks Leila for this awesome video... You just made it easy!

  • @lugamele
    @lugamele 5 лет назад

    Thank you very much for your help! It was so easy once I saw your video! I was looking for a solution for 2 days and I found just what I needed with this video!

  • @souravagarwal8475
    @souravagarwal8475 4 года назад

    Seriously I am falling in love with you

  • @rakeem6672
    @rakeem6672 5 лет назад

    You are amazing . I learned a lot

  • @FibFract
    @FibFract 10 месяцев назад +1

    Hi, thanks for all the great excel training videos.
    I recorded a macro to execute formatting I apply to a report I recieve multiple times a day. One of the formatting I apply is insert table, but the macro fails to input the table because the # of rows for each report vary - sometimes it's more or less. How can I write the macro so the code updates to the relative # of rows? Thanks.

  • @engrasifalirazabhuttoya
    @engrasifalirazabhuttoya 4 года назад

    Much informative! Useful. I’m looking forward to your Excel VBA course! many thanks

  • @vimalraj2963
    @vimalraj2963 4 года назад +2

    Hi Leila could you please upload a video how to control a existing automation tool.. 🙏

  • @ejikechime8864
    @ejikechime8864 5 лет назад

    This is so nice, Leila you are just the best. I love the way you simply it, you are doing a great job please keep it up

  • @rajkanojia1725
    @rajkanojia1725 5 лет назад

    Ma'am it's really well explained & helpful. Thanks a lot

  • @hamzawaheed47
    @hamzawaheed47 4 года назад

    Thank You very much Ms Leila!

  • @rubenhuertagranados1549
    @rubenhuertagranados1549 9 месяцев назад

    You are so Beatyfull, so Smart

  • @deepakbhanushali1
    @deepakbhanushali1 2 года назад

    i have seen many videos of your its which have help me save lot of time , now if we have lots of data and transfering that data partywise to another sheet but if that data is more then 1 page i want to show that data head to all the other pages also

  • @andrewmoss6449
    @andrewmoss6449 6 лет назад +1

    Your new course looks really interesting. Can't wait to buy it!

    • @LeilaGharani
      @LeilaGharani  6 лет назад +1

      Thanks Andrew :) It's been a lot of work and but also fun putting the course together. I'm looking forward to your feedback once it's out.

  • @mdivyakanth
    @mdivyakanth 3 года назад

    excellent job done.. thank you

  • @ahmedeltayfy717
    @ahmedeltayfy717 5 лет назад +1

    So Coooooooooooooooooooooool .Unique Approach , thank you for kind Explain

  • @mahmoudbasheti3551
    @mahmoudbasheti3551 6 лет назад +1

    Clarity Queen .. Thank you again

  • @Rajan-kk8nl
    @Rajan-kk8nl 6 лет назад

    Lot of thank you medam, your teaching and explanation are very super. Wish you happy newer.

  • @Softwaretrain
    @Softwaretrain 6 лет назад

    Fantastic. Thanks for sharing. I knew this like some other training but i love your training .
    Thanks.

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      Thank you. Appreciate your support.

  • @tahirshah6979
    @tahirshah6979 5 лет назад

    You explain topics nicely and fluently.
    I want to know that is there any plan of Microsoft corporation that excel will handle big data?
    By big data, I mean data records in millions.

  • @Marcorutz
    @Marcorutz Год назад

    Je t'adore 💜

  • @sarojsuwal9434
    @sarojsuwal9434 6 лет назад

    Thank you so much.
    I would be looking forward for more videos on macro & VBA coding.

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      You're very welcome. Yes :) more coming this week...

  • @origami_canoe1952
    @origami_canoe1952 3 года назад

    Amazing!! thank you!

  • @mobr.
    @mobr. 5 лет назад

    Impeccably explained. Thank you.

  • @ehtachii8893
    @ehtachii8893 4 года назад

    this is very helpful thank you

  • @inderjeetsaini7526
    @inderjeetsaini7526 6 лет назад

    Very nicely explained.

  • @krishnayangupta9011
    @krishnayangupta9011 4 года назад

    Thank you :) Helped a lot

  • @robertakwasiadjei8223
    @robertakwasiadjei8223 6 лет назад

    Thanks Leila, we hope for more. Stay Blessed.

    • @LeilaGharani
      @LeilaGharani  6 лет назад

      You're welcome Robert. Thank you for your support. Yes more is coming : )

  • @alexrosen8762
    @alexrosen8762 6 лет назад

    Great stuff. Thanks Leila!

  • @lenabalina
    @lenabalina Год назад

    Great video as always - but did i miss the section on how to create a JPEG or GIFF file from the barcode created?

  • @MalinaC
    @MalinaC 6 лет назад

    Thank you, Leila! It's incredibly important topic!

    • @LeilaGharani
      @LeilaGharani  6 лет назад +1

      You're welcome Malina. Agree - you have great VBA videos yourself! I just need to learn some Polish.

    • @MalinaC
      @MalinaC 6 лет назад

      Leila, thank you, it's nice to hear it, especially from you :). I'll try to add comments in English :)

    • @LeilaGharani
      @LeilaGharani  6 лет назад +1

      That would be great!

  • @CostasMoschopoulos
    @CostasMoschopoulos 5 лет назад +3

    Hello! Thank you for the great lesson!Whatif I would like to copy / paste a column from specific cell text and all the way down? Thanks in advance!

  • @learn_tricks_excel
    @learn_tricks_excel 3 месяца назад

    My best ❤

  • @EnglishTeaching101
    @EnglishTeaching101 3 месяца назад

    I like the way you teach us with a pure calmness on your face showing how easy it was. However, I need a complex job for this macro to perform. I have libreoffice in linux and I copy some data from one sheet and paste into another one opened separately which called "invoice" and it has a list of hundreds of invoices. when i put data from the summary sheet to the invoice sheet, I give it a sequenced numeric name and press F12 to "save as" and start editing the next sheet by copying some data from the summary sheet and paste it in the invoice sheet and press F12 to ''save as'' and give a name by increasing the last digit of the invoice' name . I want it to automate for me. how can I do that?

  • @anilkhanal8358
    @anilkhanal8358 5 лет назад

    Currently, taking your Excel VBA course. So far i am thoroughly enjoying the course. I am also interested in web scraping with VBA. Can you make any tutorial or course on that.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Hi Anil. Thank you! I'm glad to hear you like the course. I'm not really experienced in web scraping. If I get a chance I'll look into it and see if I can come up with some tutorials....

  • @marwafadhel4693
    @marwafadhel4693 6 лет назад

    Great course
    thanks a lot