Get access to the full Excel VBA course here 👉 www.xelplus.com/course/excel-vba-excel-macros/
@TheDutchGemini3 жыл бұрын
VBA allows to specify ranges using the short notation with square brackets instead of the Range() or Cells() property. For instance 'Range("A1").Value' can be written in short as '[A1].Value'. This is also true when using areas, for instance [A2:C2].Value = "2nd", and named ranges such at [LastOne].Value = "10th".
@Yolande264 жыл бұрын
Leila has the best Excel tutorials/videos by far! I did two of her courses and she is simply the best instructor!
@LeilaGharani4 жыл бұрын
Wow, thank you!
@rnunez0472 жыл бұрын
In Spanish-language there's not channel like this one. Great, you have a nice voice, even my native language is Spanish, i get all you explain. I just founded you. Congratulations "Desde américa Latina, Nicaragua. Saludos"
@LeilaGharani2 жыл бұрын
Thank you! 😃
@aricosman53543 жыл бұрын
GOD bless you Mrs Leila, Thanks a lot for your tutorials
@mariarib6504 Жыл бұрын
omg. I'm not getting much sleep. I keep learning more from you and instead of fixing the basic stuff I have written, I am thinking of other things I can do! Thank you :-)
@mehdihammadi61456 жыл бұрын
I am one of those who believe that there is always something to learn. And this has just been verified once again. Although I have been writing VBA code for years, I have never used the shortcut "?" in the immediate window because I used to write the entire debug.print command. So thank you very much Leila for this
@LeilaGharani6 жыл бұрын
Hi Mehdi. I'm glad you found something new here. Actually I was also not aware of the "?" method for the longest time after I started to use VBA. It made me very happy when I discovered it :)
@mehdihammadi61456 жыл бұрын
Hi Leila, for the history this is an old (legacy) command coming from old versions of Basic. If my memory is good I used it with gwbasic for more then 25 years ago :)
@LeilaGharani6 жыл бұрын
Thanks for the info :)
@chandrasekharboya88854 жыл бұрын
Hi Leila, Really really impressive explanation of cell referencing. This is the best video explaining the cell references. Thank you.
@PremKumar-pq5lr3 жыл бұрын
Used this techniq and solved a issue for which i am looking for a solution in long time. Keep rocking😎👏✌
@rag76285 жыл бұрын
Hello Leila, I've been working now through some of your great tutorials here and now I really have to make you a big compliment. Thanks sooooo much for the great work you a doing here, it's really a great performance. Your tutorials are very well structured and very easy to understand and extremely helpful. Thank You :-)
@ismailismaili00716 жыл бұрын
I think I started to understand VBA with you thank you so much Ms. Leila
@lawrenceward23665 жыл бұрын
New to VBA. Most useful video I have seen. Thank you.
@LeilaGharani5 жыл бұрын
I'm very happy to hear that Lawrence. Glad you like the video.
@davecks30424 жыл бұрын
I did enroll in Udemy in Leila VBA course and I learned immensely. Thanks
@teachmeteachme90143 жыл бұрын
You're creative, so I've decided to outdo you in this field. تحية لك من المغرب
@AamirSaeedTajalli5 жыл бұрын
Lady Leila, I LOVE YOU for making this wonderful tutorial. Excellent TEACHER.. knowing the art of MAKING UNDERSTAND. Thanks a lot.
@LeilaGharani5 жыл бұрын
I'm very happy to hear this Aamir! Glad you like the videos.
@AamirSaeedTajalli5 жыл бұрын
@@LeilaGharani i started watching your tutorials 3 days back and the more i am diving in, the more i am learning "FAST" and more i am liking your WAY of teaching. Full of confidence, command, knowledge and patience. GREAT WORK and inspiring achievements. Getting convinced to join your online tutorials paid version. I hope they will be even better.
@dasrotrad6 жыл бұрын
This is really great Leila. Love your presentation and excellent explanations. It is very well thought out. You make it easy to understand. When Mike Girvin is following your videos, you know you are among the great. Thank you so much for sharing.
@lilanthawijerathne30853 жыл бұрын
Hats off to Leila ! . I learns lot from your videos.
@LeilaGharani3 жыл бұрын
Glad to hear that
@sasavienne5 жыл бұрын
Cells.Columns.Autofit is lovely. Leila gets 🌟 🌟 🌟 🌟 🌟
@LuisGarcia-mn4jg3 жыл бұрын
You explain concepts very well and it is easy to follow. Thanks
@LeilaGharani3 жыл бұрын
Glad you think so!
@abdallah.kandiel6 жыл бұрын
Thankd leila Back to our happy day Waiting for the end to learn about the course Good luck ur highness
@LeilaGharani6 жыл бұрын
You're welcome. It's happy Thursday :) Wish you a great rest of the day.
@MyChannel7063 ай бұрын
Excellent video and narration! Thank you!
@scorpio197711112 жыл бұрын
Excellent video. You are great instructor, and the video is top-notch in clarity.
@ca.lakshminarayanreddyjamb90875 жыл бұрын
I like the way you explain. Really awesome!!! Thankyou.
@alwysrite11 ай бұрын
was looking for multiple range syntax and found it here after looking on various sites. Thank you
@j.fabricioelias2276 ай бұрын
Thank you! This video gave me an excellent explanation about cells and ranges referencing.
@LeilaGharani6 ай бұрын
Glad it was helpful!
@abumalik973 жыл бұрын
impressive teaching ability , right pace and right details . subscribed !.
@LeilaGharani3 жыл бұрын
Much appreciated!
@steamsteam66074 жыл бұрын
Such a smart, beautiful woman. Iran makes great things. Thank you for these videos.
@steamsteam66074 жыл бұрын
@Elegant Fowl Pls
@mobr.5 жыл бұрын
Clear, concise, and informative. Thank you.
@ckokse6 жыл бұрын
Thursday is my favorite day! I was already wating for your new video. This is great, will practice this as you instructed. I want to be prepared for when the VBA course finally comes out.
@LeilaGharani6 жыл бұрын
Mine too! Great. Practice is always good :))
@arielponce85863 жыл бұрын
You are an awesome teacher.
@cobusoosthuizen52236 жыл бұрын
Thanks Leila, nice preparation for the upcoming course
@LeilaGharani6 жыл бұрын
You're welcome Cobus & thank you.
@SugarKane95472 ай бұрын
Thanks Leila, You just cleared up a lot of confusion I had about vba range referencing. I am very grateful......and YES, I like what I see but someone already subscribed before me! :)
@LeilaGharani2 ай бұрын
Glad it was helpful!
@konqueror074 жыл бұрын
Awesome video. I think this should be the first video to watch for any one beginning to learn macros like me. I've spent hours trying to figure out how to refer cells in different scenarios. Can you also mention how to refer to variable ranges? Eg Range from A1 to Ai where "i" is a result of another formula or loop counter etc. Thanks for making a video on this topic though.
@YogeshSharma-ui7xx3 жыл бұрын
Leila you r awesome and nicely explains with smile and simple way. Thank u
@ah2448955 жыл бұрын
Very clear, understandable. Great way to learn Excel m
@LeilaGharani5 жыл бұрын
I'm glad to hear that.
@sanjaykulkarni18006 жыл бұрын
Excellent way of explaining.. Thanks.
@joecampanini81543 жыл бұрын
Outstanding presentation. Thank you.
@pponcho82452 жыл бұрын
Thank you for teaching the basics!!!!
@joem1126 жыл бұрын
Very good video. I liked the way you did the drag and drop with the named range...pretty cool way to do that.
@LeilaGharani6 жыл бұрын
Glad you like that :)
@marioalfredooviedo4 жыл бұрын
buenos principios excel, tienes un gran poder de enseñar, hay personas que creen que solo se debe enseñar lo mas astral, pero los principios de excel son excelentes, te felicito
@LeilaGharani4 жыл бұрын
Thank you Mario. Glad you like the video.
@MrWofty4 жыл бұрын
Oh Wow, solved my problem in a few easy minutes, well explained. I wish my school teachers, College Tutors etc, were like this. Thanks for giving me some enjoyment with learning :) I used this in Excel VBA "A1", "A" & lRow, Where lRow was the last row number. Cheers :)
@LeilaGharani4 жыл бұрын
Glad it helped!
@andydidyouhear2 жыл бұрын
Great lecture, easy to follow.
@SanjayKumar-yx6gc6 жыл бұрын
Very useful lecturer Leila , Thank you so much.
@LeilaGharani6 жыл бұрын
You're very welcome Sanjay.
@Mario1123522 жыл бұрын
Very nice presentation Look forward to your course
@cekhattaq3 жыл бұрын
Explanation is in very nice & systemic way, Thanks
@LeilaGharani3 жыл бұрын
Thanks and welcome
@umeshthadhani63884 жыл бұрын
So Clear Explanation....!!! Makes understanding simple.! :) thank you So Much !! :)
@LeilaGharani4 жыл бұрын
You are welcome!
@MrYegneswaran5 жыл бұрын
Very much insightful.. No need to refer to any other material as far as Range object though VBA..👍👍👍
@aliz37002 жыл бұрын
بهترین استادی👏👏👏
@sarwansingh94234 жыл бұрын
This was very helpful
@sasavienne5 жыл бұрын
Brilliant. I like your videos Leila. Thanks a million.
@LeilaGharani5 жыл бұрын
Thank you! I’m glad to hear that.
@stevennye24413 жыл бұрын
excellent review!
@1gopalakrishnarao6 жыл бұрын
Thanks a lot Madam, very inspiring, illuminating, impressive, inquisitive & revealing, . Explanation is superb, very articulate. On behalf of all my Excel learner friends A BIG SALUTE TO MY BELOVED BEAUTIFUL TEACHER.
@LeilaGharani6 жыл бұрын
Thank you very much Gopala for the kind words and for your support. I am glad you're enjoying the VBA series so far :)
@helenasvensson659510 ай бұрын
So well explained, as always!
@ringsfieldvillagehallvilla79704 жыл бұрын
This is fantastic. I will be taking the course at some point in the future.
@LeilaGharani4 жыл бұрын
Great! I hope you'll like it.
@abdullahalklbani74542 жыл бұрын
Amazing 👏 that was full comparhansive explanation 👏 I appreciate that efforts from your side This is was very helpful
@LeilaGharani2 жыл бұрын
My pleasure 😊
@irfanmansoori30603 жыл бұрын
Unbeatable knowledge Leila.. thanks..
@jokkiossaka33065 жыл бұрын
Thank You Leila for your time and cool video !
@LeilaGharani5 жыл бұрын
My pleasure Jossi. Glad you like the video.
@yoryopower29083 жыл бұрын
Thank you.
@BOWENSblog4 жыл бұрын
This is a good hobby
@alanrobbo69803 күн бұрын
Fantastic, Thanks.
@Vicky-bl9pr3 жыл бұрын
You are the best😊😊👌👌👌
@SolomonKinyanjui_sk6 жыл бұрын
Hello Leila the lesson to day was very clear. Keep it up.
@LeilaGharani6 жыл бұрын
Thank you Solomon. Will do my best :)
@sindhusudhakaran17313 жыл бұрын
so well explained. Thank you
@excelisfun6 жыл бұрын
Awesome VBA Referencing video!!!! Quote Happy Fun : )
@antrikshsharma69906 жыл бұрын
ExcelIsFun You should learn VBA as well😁
@excelisfun6 жыл бұрын
Yes but where could I find a good class!?!?! ; )
@LeilaGharani6 жыл бұрын
Thanks Mike - yes...... not easy to find a good class ;)) In the past week I've been locked up working on finalizing the course. I haven't had a chance to watch your videos, but I've added them all to my list. Have some catching up to do once I get out of here...
@antrikshsharma69906 жыл бұрын
ExcelIsFun Try Wise Owl on youtube👍🏻
@excelisfun6 жыл бұрын
Thank you for reaching out to me!!! But I am sorry, antiksh... I was making a joke... I already know about Wise Owl. I feature the Wise Owl channel and Leila's channel at the excelisfun Channel home page : ) I was making a joke that I should take Leila's class. But really it is no joke - she is so amazing at teaching and marketing and making videos : ) Go Amazing Online Excel Team, including you antiksh!!!
@nour-eddineoumakhlouf52963 жыл бұрын
Great job, Leila!
@LeilaGharani3 жыл бұрын
Thank you! 😄
@sarasamin5 жыл бұрын
Superb! Excellent!Thank YOU!
@LeilaGharani5 жыл бұрын
You are very welcome!
@MohAboAbdo4 жыл бұрын
Thank You So Mutch.
@thirdfabe1675 жыл бұрын
really awesome,,i acquired a lot of knowledge in your video.
@djibysadji96345 жыл бұрын
So clear Leila! Thank you!
@Galileo2pi3 жыл бұрын
She is the best
@RaymondJerome5 жыл бұрын
thanks, the many ways of getting ranges as part of a row or column is very helpful. all this is similar in openOffice too but they appear to use : and , differently and to also use ;. in VBA i never access activesheet or activerange or selection, I actually pass a range or ranges to the code as in the following which i really have no error checking. Function rms(ByVal Target As Range) As Double 'root mean squared. quadratic mean Dim Cell As Range Dim summand As Double Dim tot As Integer tot = 0 summand = 0# For Each Cell In Target.Cells If IsNumeric(Cell) Then tot = tot + 1 summand = summand + Cell ^ 2 End If Next Cell rms = Math.Sqr(summand / tot) End Function
@RaymondJerome5 жыл бұрын
i also use parallel ranges, either rows or columns 1 wide, but have to not use for each
@mohieddinedadi3173 жыл бұрын
thank you ; its useful
@technentertain4 жыл бұрын
mam i want to enter ony10 numbers in 12 cells in a row. 11th number could not be entered. please help me
@johnborg54196 жыл бұрын
Thanks Leila. Very Interesting. Some practice and will wait for the next one :)
@LeilaGharani6 жыл бұрын
You're welcome John. Agree - practice is always good :)
@cananpasa56233 жыл бұрын
Thanks a lot💕💕💕💕💕
@isa.rahban21323 жыл бұрын
thank you very much
@abhilashc29654 жыл бұрын
You are Divine. Demi God of Excel
@alanliu13135 жыл бұрын
Very clear and useful!
@shoaibahmedsagar6 жыл бұрын
Thanks a lot Leila.
@anilpanda58405 жыл бұрын
Thanks a lot, very clear!
@khalidalisubhanallah29476 жыл бұрын
Bundle of Thanks Mam Nice Video
@LeilaGharani6 жыл бұрын
You're very welcome Khalid. Thank you for your support.
@jorge561494 жыл бұрын
Thanks!
@satishpatel65304 жыл бұрын
Nice video
@moisestatis5418 Жыл бұрын
I like how you teach. In fact, I'm enrolled in your Power Query Course. I'd assumed that you also have a Excel VBA course right? I'd like to learn macros.
@nancyd.59905 жыл бұрын
U r the best
@AamirSaeedTajalli5 жыл бұрын
Very true
@Donnie64inPa2 жыл бұрын
Just figured out my error: I named my module Cells which started this whole mess! (I left my question for anyone else's benefit)>>>>Thanks for the work you put into this video Leila, quick question: When I tried to use your second example: cells(1,1)="1st" it gave me an error: Compile error: Expected variable or procedure, not module. It's like vba isnt recognizing that expression because it's not even suggesting anything when I type the "cells(" part....... Thanks for any help.
@johnkoay80972 жыл бұрын
you are good.
@shameemnassiree27806 жыл бұрын
Thanks ma'am 😊 your videos are quite helpful
@LeilaGharani6 жыл бұрын
You're welcome Sami. Glad to hear that :)
@shameemnassiree27806 жыл бұрын
Leila Gharani Ma'am do u have videos on data validation, concatenation ?
@maryspurplelife20245 жыл бұрын
Useful video, Thanks
@tariquejameel90683 жыл бұрын
Can you make video on cutting length optimisation
@lpanades4 жыл бұрын
Thanks
@donserpico8244 Жыл бұрын
Hey Leila, thanks for your videos. I need to loop through a range (one column) and 1) check if the cell contains a specific text/string and 2) if true, write the text in a new cell (same row). Which of your tutorials do you recommend to watch? Also, I didn't find the next video/lecture you mentioned at the end of this one. thank you in advance
@souzamotasacul Жыл бұрын
Tomorrow, if I remember, I’ll write the code here for you 🤜🏼🤛🏼
@khalidalisawi8037 Жыл бұрын
you are great, really it interesting video
@LeilaGharani Жыл бұрын
Thank you! 😃
@khalidalisawi8037 Жыл бұрын
@@LeilaGharani
@khalidalisawi8037 Жыл бұрын
@@LeilaGharani dear I follow most your videos really it was very interesting and my level is progressing but can you guide me to advanced book in vba
@mohitdhanwani55406 жыл бұрын
Thanks for the video ma'am.
@LeilaGharani6 жыл бұрын
You're very welcome Mohit.
@21121990jay4 жыл бұрын
Hi @Leila , how would you select two ranges and select them together ? E.g. Header should be fixed Range (First Range) and second range would be from active cell range.
@DakshaNY4 жыл бұрын
its good really
@annpurnakumari72185 жыл бұрын
Really awesome. Thanks.
@robertakwasiadjei82236 жыл бұрын
Thanks Leila for such a wonderful video. However, when is the course coming on?
@LeilaGharani6 жыл бұрын
You're welcome Robert --- should be live next week :)
@AliHasan-lr4xj5 жыл бұрын
Very informative , but I have a request if you can show us how to merge cells than contains same value with option for Excel user to select the cells range as an input on dailog box Thanks
@fareedbadar87936 жыл бұрын
Thank you, for sharing useful information. Please can you advise how you open excel and vbe at the same time?
@LeilaGharani6 жыл бұрын
I snap the VBE window in place. You can use the shortcut key window and then right arrow. Or you can drag the VBE window with your mouse and then drag it to the right hand side until it snaps in.