Excel VBA - Cell Referencing

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024
  • Excel VBA - Cell Referencing
    Watch More Videos at:
    www.tutorialsp...
    Lecture By: Mr. Pavan Lalwani Tutorials Point India Private Limited

ความคิดเห็น • 175

  • @TutorialsPoint_
    @TutorialsPoint_  ปีที่แล้ว +1

    Get Certified in Excel VBA:bit.ly/41fWeVP
    Use coupon "TH-cam12" to get ‘’FLAT 12%’’ OFF at Checkout.

  • @gaminxden11
    @gaminxden11 6 ปีที่แล้ว +23

    I find it really amazing that Indians are good in explaining things clearly. Easy to understand. Straight forward. Awesome.
    Big hands from Philippines.

  • @KatieMcTalmage
    @KatieMcTalmage 13 วันที่ผ่านมา

    Thank you, you are an excellent teacher! So many videos just discuss how to use the simple button for macros, but I wanted to see what is working behind the scenes. Thank you for your very clear description.

  • @hshrestha2811
    @hshrestha2811 2 ปีที่แล้ว

    Thanks to Indians in TH-cam, who have made my programming journey easier.
    Respect from Nepali in Germany.

  • @mohansneha
    @mohansneha 3 ปีที่แล้ว +4

    Thank you so much for your elaborate and simple explaination for understanding the intricacies of cell reference and making beginning in vba. I am a senior citizen involved in environmental consultancy and was looking desperately for simple yet fast tools in processing vast range of data. God bless you.

    • @abhishekvrm2777
      @abhishekvrm2777 2 ปีที่แล้ว

      Hello sir, when did you leave RSS?

  • @daudacademy24
    @daudacademy24 4 ปีที่แล้ว +1

    The method you taught seems very simple to me. I like your presentation very much. You are a very good teacher.

  • @jayanthikanagaraj6052
    @jayanthikanagaraj6052 5 ปีที่แล้ว +1

    Actually it is very interesting to listen because all video timing only for few mins not for so long
    Thanks a lot for created a presentation on macros

  • @evi4822
    @evi4822 4 ปีที่แล้ว +1

    Good explanation. Never been this far watching someone explain VBA.

  • @shivamsinghal2716
    @shivamsinghal2716 4 ปีที่แล้ว

    Sir, I dont have any word to describe your teaching method, Hats off......

  • @sidharathsharma6197
    @sidharathsharma6197 2 ปีที่แล้ว +1

    Even the highest rated udemy courses can't match your level of teaching sir. U are the best, sir.

  • @vikaskpadale
    @vikaskpadale 5 ปีที่แล้ว +12

    Excellent, I really appreciate your effort, Thanks A Ton Again :-)
    This is proper way of teaching, step by step mentioning minor things along the way and all in a short 5-6 min video
    Awesome presentation FIRST TIME I GET WORD BEST TUTORIAL .
    Very Unique way of teaching, You are Great Trainer Keep it up.

  • @sangeethamadambi2946
    @sangeethamadambi2946 5 ปีที่แล้ว

    I liked your statement ; "Mumbai is a city in India." Such a meticulous thinking..
    beginners like me will be very happy with this..

  • @flotin9743
    @flotin9743 6 ปีที่แล้ว +6

    It was great to learn that I could simply reference between "[ ]". This way is faster and cleaner! Very nice

    • @gaminxden11
      @gaminxden11 6 ปีที่แล้ว

      Same here Flavio H. Campos. Yeah, I agree.

  • @akhil_c_mani
    @akhil_c_mani 4 ปีที่แล้ว

    Very much understandable way of teaching...Appreciate your effort sir

  • @azeezahmed7070
    @azeezahmed7070 5 ปีที่แล้ว +2

    Excellent. Explained in a very easy and simple way. Thank you

  • @satheeshiyer7857
    @satheeshiyer7857 6 ปีที่แล้ว +2

    What a clarity you have and the way you teach is amazing.. I love your videos and your style.. :))

  • @diegocosta5322
    @diegocosta5322 4 ปีที่แล้ว +1

    Olá, sou do Brasil, achei a sua aula excelente.
    Achei este formato de tela interativa, qual é a ferramenta que vocês usam?

  • @ankitkulshrestha3633
    @ankitkulshrestha3633 5 ปีที่แล้ว +1

    I have been trying to understand VBA for a long time. But always failed because of the videos got to complex for me... But this series is very good.
    I am leaning new things now every day

  • @muzaffarraja4247
    @muzaffarraja4247 2 ปีที่แล้ว

    Perfect Tutorial, very nice way of teaching.

  • @varshasingh3449
    @varshasingh3449 4 ปีที่แล้ว

    Thanks a lot sir....First time i got a clear idea about VBA

  • @gauravnagarkar
    @gauravnagarkar 4 ปีที่แล้ว

    Excellent! I am a beginner and this tutorial helps me a lot.

  • @idrisabismailhadjoudja2313
    @idrisabismailhadjoudja2313 2 ปีที่แล้ว

    Thank you very much:
    Sub cell referencing ()
    ActiveCell.Value = "tutorials"
    ActiveCell.Value = 40
    [b5].Value = 70
    [c1:c10] = "Tutorials"
    Cells(8, 2).Value = "India"
    Range("al").Value= "Mumbai"
    Range ("a2:a10") = "Jakarta"
    End sub

  • @Aksmoments
    @Aksmoments 4 หลายเดือนก่อน

    Very very.. excellent explanation brother..! 🎉🎉

  • @ankitachakraborty9635
    @ankitachakraborty9635 5 ปีที่แล้ว +1

    Love watching your video! Thank you so much!! These all are really beneficial!

  • @Rakeshpattar5
    @Rakeshpattar5 5 ปีที่แล้ว

    Your online classes are really good and understanding

  • @diva4727
    @diva4727 4 ปีที่แล้ว

    I understood everything in first go.. nicely done and explained. Can you please explain cell referencing hierarchical wise.??

  • @loading.m4469
    @loading.m4469 7 ปีที่แล้ว +5

    Great presentation! Thank you very much for your effort.

  • @pramodmaurya6610
    @pramodmaurya6610 2 ปีที่แล้ว

    Best teacher... Thanks a lot sir

  • @musicsang4882
    @musicsang4882 2 ปีที่แล้ว

    Excellent teaching style.

  • @goldijangra2678
    @goldijangra2678 3 ปีที่แล้ว

    Hi sir ,
    I want to ask something , You have told in this video that (cells(1,2).value = "India" ) if we will type this in program then India will be type in row number 1st and column number 2nd . right , but it is not working in excel 2007 , sir please make me sure it will work in excel 2007 or not

  • @wowcoldboy076
    @wowcoldboy076 4 ปีที่แล้ว

    I do not know if this comment will get across to the lecturer. I was thinking if you have any website or a link where we can practice exercises to VBA coding. Thank you.

  • @Karthik22ng
    @Karthik22ng 5 ปีที่แล้ว +5

    My Reference:
    ActiveCell.Value = "Testing"
    [b2].Value = "method 1 "
    [d1:d5].Value = "method 2 "
    Cells(6, 2).Value = "method 3"
    Range should be always used with double quotes and it should contain the cell address
    Range("C1").Value = "method 4 recommended"
    Range("C1:h14").Value = "method 5 recommended"
    Range("C1", "H15").Value = "method 5 recommended"

  • @himanishah8161
    @himanishah8161 4 ปีที่แล้ว +2

    what an amazing teacher! so clear.

  • @tpmusic4421
    @tpmusic4421 5 ปีที่แล้ว

    Excellent, I really appreciate your effort, Thanks A Ton Again Mr. Pavan Lalwani

  • @joellamas184
    @joellamas184 4 ปีที่แล้ว

    Is there a way to set one of the reference values in the cells function to a variable? In python if you have an array, you can do something like this.
    array1 = [1,2,3,4,5]
    b = 0
    while(b < len(array1)):
    print(array1[b])
    b = b + 1
    Is it possible to do something similar with the cells function? So something like MsgBox(cells(1&b))....I keep trying it and it is not working for me...

  • @SarieSarieKah
    @SarieSarieKah 2 ปีที่แล้ว

    Hi Pavan, is it necessary that the module name has an underscore (_)?

  • @geentlesoft
    @geentlesoft 4 ปีที่แล้ว

    Fantastic tutorial, step by step....

  • @gullivergimeno7586
    @gullivergimeno7586 3 ปีที่แล้ว

    This is the best macro tutorial

  • @rahamtullahkhan1224
    @rahamtullahkhan1224 4 ปีที่แล้ว

    Fantastic,
    Sir is it possible to merge the dynamic ranges, as the Syntax is Range("A3:C6") I want to make this 3 and 6 dynamic and to be replaced with i which is dynamic in nature or in other words how to merge every nth An to Cn ranges.....

  • @shofiulislam5681
    @shofiulislam5681 4 ปีที่แล้ว

    Nice Tutorial that is naturally good.

  • @rajshrisawant3560
    @rajshrisawant3560 2 ปีที่แล้ว

    Best teacher.guide

  • @yogeshanjarlekar7286
    @yogeshanjarlekar7286 4 ปีที่แล้ว

    Nice .....Great helpful.. Sir

  • @akankshagupta7116
    @akankshagupta7116 2 ปีที่แล้ว

    Do you have some cheat sheet thing for your lectures ??

  • @devabratacharya2476
    @devabratacharya2476 3 ปีที่แล้ว

    can you correct this code, if wrong
    Cells(Sheet4.Rows.Count, "B").End(x1UP).Offset(1, 0).Select

  • @bhaskerbagaria4444
    @bhaskerbagaria4444 4 ปีที่แล้ว

    Please can you tell why you write ". Value" when macro can work without that? Like that worked in your last line example of this video?

  • @foru4991
    @foru4991 6 ปีที่แล้ว

    It was great to see ur videos. Can u please give one class for odbc connections in excel how it works

  • @Joe02101967
    @Joe02101967 2 ปีที่แล้ว

    Awesome teaching method. The only issue I faced so far is "if I press F8" on keyboard, step into is not working. I need to use mouse pointer to click the same in the debug menue. Can anyone help?

  • @whiteboardepisodes5013
    @whiteboardepisodes5013 5 ปีที่แล้ว +1

    Hey I have a very simple Excel VB project to add a macro. Can you Help me?

  • @lichenestheriddick6693
    @lichenestheriddick6693 5 ปีที่แล้ว

    Terima Kasih banyak, tutorialnya sangat mudah untuk di mengerti

  • @asiramin8841
    @asiramin8841 4 ปีที่แล้ว +6

    Oh my god Sonu Nigam also teaches Excel

    • @jeetpranav2304
      @jeetpranav2304 9 หลายเดือนก่อน +2

      Excel hua maddham
      VBA jalne laga

  • @sarkarji960
    @sarkarji960 4 ปีที่แล้ว

    Sir you are simply great

  • @ejdaddy3161
    @ejdaddy3161 4 ปีที่แล้ว

    Day1 for vba. Thanks for the videos..

  • @arielzabatecuizon5147
    @arielzabatecuizon5147 4 ปีที่แล้ว

    Hi,how to create or name a range using vb or macro? For example I have more than 100x individual ranges that I want to name or add it on name manager. For example I want cells(1,1) named as "One", then cells(1,2) as "Two" and so on until 500.
    I cant do it manually, I want quick.
    Please help. -More power to you channel

  • @JV-xg5jk
    @JV-xg5jk 5 ปีที่แล้ว +1

    What if we want numbers in equal intervals in the range C1:C10?
    E.g. here we gave "tutorials" for all, but if we want 2, 4, 6 and so on...how would we get that?

  • @Sayanerzee
    @Sayanerzee 2 ปีที่แล้ว

    Thank you Sir for your valuable videos. Requested to show how to create an UDF to Bold any text or numbers. Thank you Sir.

  • @shahrukhshahid4134
    @shahrukhshahid4134 4 ปีที่แล้ว

    Hi sir i work in excel sheet in which i put my name from cell A2 to A201 and date in cell B2 to B201so is there any way to populate these two data automatically using VBA code?
    Thanks in advance

  • @newsviewsbees
    @newsviewsbees ปีที่แล้ว

    Very useful tutorials

  • @shrutichoubey3521
    @shrutichoubey3521 4 ปีที่แล้ว

    Very articulately taught

  • @diptisharma9900
    @diptisharma9900 5 ปีที่แล้ว

    Thanks for providing valuable videos.

  • @sayedbabul1413
    @sayedbabul1413 4 ปีที่แล้ว

    you are great i congratulate do more for world .

  • @TheObjectionable
    @TheObjectionable 4 ปีที่แล้ว +1

    Great tutorial!
    I didn't get why is Range("a1") the most common way of accessing ranges, [a1].value seems so much simpler and doesn't use strings

    • @abongchuy2076
      @abongchuy2076 4 ปีที่แล้ว

      I agree!

    • @alankarpattekar3640
      @alankarpattekar3640 4 ปีที่แล้ว

      I think when we use Range() there are various methods associated with "Range" like range.copy, range.delete, range.borders, etc. So it can be more flexibly used. Thats what i think please check out.

  • @shrutikilledar4803
    @shrutikilledar4803 4 ปีที่แล้ว

    Sir actually what is the difference between 2nd method and 4th method almost same right??

  • @shivsonawane5411
    @shivsonawane5411 10 หลายเดือนก่อน

    This man is my god.

  • @Laxmanmane007
    @Laxmanmane007 6 ปีที่แล้ว +1

    good collection and good information ..

  • @timothykonisimo
    @timothykonisimo 10 หลายเดือนก่อน

    Please post a video on how to use different functions..

  • @a.ramakrishnan7784
    @a.ramakrishnan7784 5 ปีที่แล้ว

    Super Super explaining. Thank you

  • @supriobd
    @supriobd 6 ปีที่แล้ว +1

    Thanks a lot for your nice presentation. here i have a question. in some cases you used .vaue but not for all. could you please explain the use of "value".

    • @priyanth123mohan
      @priyanth123mohan 6 ปีที่แล้ว +1

      Hi
      For a particular cell use .value and for a range like a1-a10 in this case no need to use .value
      07:54 u can see the difference for range c1-c10 and a2-a10 .value is not reqrd

    • @flotin9743
      @flotin9743 6 ปีที่แล้ว

      I was able to use without the ".value" in both cases in my code... very nice

  • @syedsameer4059
    @syedsameer4059 ปีที่แล้ว

    What is the distinction between these two approaches?
    [b5].Value= 70 and Range("a1").Value = "Mumbai"
    [c1:c10]= "Tutorials" and Range("a2:a10") = "Jakarta"
    As if they're both doing the same thing and [b.5].Value and [c1:c10] are simple to remember and write, but why Range(" ") is preferred?

    • @osoriomatucurane9511
      @osoriomatucurane9511 5 หลายเดือนก่อน

      You have a got a point. The Range(" ") is widely known and familiar just from Excel cell A1 notation (Column A, B, C,.....; Rows 1, 2, 3, ............). It is descriptive and concise. The [B5] referencing is just a short cut, less intuitive!

  • @muhammadshahid879
    @muhammadshahid879 3 ปีที่แล้ว

    Dear sir kindly your all video upload by number episode. Its easy ways learning that wich thing is 1st or other is 2nd

  • @signaturegrammarschoolswat4668
    @signaturegrammarschoolswat4668 3 ปีที่แล้ว

    Good Efforts.

  • @TheStraightPath-np7sf
    @TheStraightPath-np7sf 3 ปีที่แล้ว

    Are you from Indonesia?

  • @pawanshekhawat96
    @pawanshekhawat96 ปีที่แล้ว

    I tried to do cell referencing but it working for first active cell not for second active cell. Plz help here

  • @jayeshsharma5049
    @jayeshsharma5049 4 ปีที่แล้ว

    Hello sir
    Great presentation
    Actually I am a teacher
    And I want to learn vba coding then how can I start ?
    Plz give me suggestions

  • @rajeshalla6732
    @rajeshalla6732 4 ปีที่แล้ว

    notification shows that macros are disabled, i am not able enable macros, any suggestions..?

  • @divyagow2756
    @divyagow2756 5 ปีที่แล้ว

    Excellent i can understand easily😁and simple way

  • @ziyapihuworlds4009
    @ziyapihuworlds4009 5 ปีที่แล้ว

    hi sir I work in stock market.I want to automate my excels to pull the data.how can I?

  • @oguzturkyilmaz543
    @oguzturkyilmaz543 ปีที่แล้ว

    Thanks from Turkiye

  • @JaiBhai.bhai.bhau0
    @JaiBhai.bhai.bhau0 3 หลายเดือนก่อน

    Excellent❤

  • @harkeshsharma3264
    @harkeshsharma3264 5 ปีที่แล้ว +1

    Hi, can u please let me know why you used Range (a1) for a single cell, couldn't we use cells (1,1)?
    Range shouldn't be used for taking more than 1 cell?

    • @alankarpattekar3640
      @alankarpattekar3640 4 ปีที่แล้ว

      Range can be used for more alloting values to more than 1 cell : eg : Range("A1:A12).value="Jakarta". If you want to allot the value "Jakarta" using cells() function , you have to use a macro. Usually cell() function is used to allot value to a single cell. For allocation to multiple cells use a macro

  • @vasanthithangavel4968
    @vasanthithangavel4968 6 ปีที่แล้ว +1

    Good presentation. However if you could add ppt 1 ,2,3 etc that would be great to learn it better for new learners to have the continuation

  • @humabaqui3180
    @humabaqui3180 3 ปีที่แล้ว

    Vvv nice my dear
    Please zoom monitor screen sir thanks a lot
    Love to you more from my side

  • @skmanchal
    @skmanchal 4 ปีที่แล้ว

    Really nice presentation, but initialise option is not coming , the. What should I choose.

    • @skmanchal
      @skmanchal 4 ปีที่แล้ว

      Got the tab

  • @gobindamohapatra-h5t
    @gobindamohapatra-h5t 28 วันที่ผ่านมา

    Kindly say about excel automation using web browser

  • @sudhisha9552
    @sudhisha9552 2 ปีที่แล้ว

    Is it case sensitive?

  • @KuldeepSingh-pl7rv
    @KuldeepSingh-pl7rv 3 ปีที่แล้ว

    i like the array method where you can simply put bracket instead writing the range

  • @acenglishielts5954
    @acenglishielts5954 4 ปีที่แล้ว

    Is there a macro to set a flow of cursor movement.

  • @sanjanajoglekar2361
    @sanjanajoglekar2361 5 ปีที่แล้ว

    Hello sir ,
    Your online class very useful for me and understanding also but I want to learn more so can I learn if u suggest me any class who tell me perfect way step by step I understand but when I do ...when m doing I get mistake and vba editing when m run it ..it's not working I need to practice more so can u plz tell me a proper class name who practice in data ..we work on data so may be it's more helpful for me to understand...

    • @tsunil33
      @tsunil33 5 ปีที่แล้ว

      If you can convert your logic into structure, you can depend on stackoverflow to get your question answered.

  • @karuppusamyn515
    @karuppusamyn515 6 ปีที่แล้ว

    please kindly Advise:
    how to write in the cells put the column value through vba userform. example A1=1001,A2=140,A3=ABCD, A4=MM/DD/YYYY
    B1=1002, same as above mentioned A2 A3 A4.............etc...
    can you explain as well add,update & delete button. I hope you.

  • @arunkc5627
    @arunkc5627 3 ปีที่แล้ว

    Awesome..😍😘

  • @ayandey2736
    @ayandey2736 ปีที่แล้ว

    What is the difference between using range and not using?

  • @peternganga9371
    @peternganga9371 3 ปีที่แล้ว

    Beautiful...

  • @karthikdevi3051
    @karthikdevi3051 5 ปีที่แล้ว

    Excellent sir....

  • @mypoem5067
    @mypoem5067 4 ปีที่แล้ว

    Woo sir awsome

  • @rpcircuits5937
    @rpcircuits5937 3 ปีที่แล้ว

    Thanks a lot sir 🙏

  • @sujendrakuna3613
    @sujendrakuna3613 11 หลายเดือนก่อน

    Sir I Hava Excel templet but i need in Row wise how to create.

  • @harshadkhare7654
    @harshadkhare7654 5 ปีที่แล้ว

    How enter value in a cell from different language? For example Japanese text doesn't appear as it is.

  • @figmauser1996
    @figmauser1996 5 ปีที่แล้ว

    Thanks you so much brother!

  • @smf4399
    @smf4399 4 ปีที่แล้ว

    Thank you for the viideo, can you make a video on how to use VBA in access and link folder

  • @jaswantdn7
    @jaswantdn7 6 ปีที่แล้ว +1

    GREAT SIR.

  • @pkotkar9540
    @pkotkar9540 4 ปีที่แล้ว

    Thank you Pavan