Excel VBA - Cell Referencing

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

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

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

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

  • @gaminxden11
    @gaminxden11 6 лет назад +25

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

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

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

  • @KatieMcTalmage
    @KatieMcTalmage 2 месяца назад

    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.

  • @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.

  • @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......

  • @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

  • @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.

  • @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.

  • @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.

  • @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..

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

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

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

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

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

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

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

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

  • @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

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

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

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

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

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

    Perfect Tutorial, very nice way of teaching.

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

    what an amazing teacher! so clear.

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

    Your online classes are really good and understanding

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

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

  • @loading.m4469
    @loading.m4469 8 лет назад +5

    Great presentation! Thank you very much for your effort.

  • @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

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

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

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

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

  • @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"

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

    Best teacher... Thanks a lot sir

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

    This is the best macro tutorial

  • @asiramin8841
    @asiramin8841 4 года назад +6

    Oh my god Sonu Nigam also teaches Excel

  • @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?

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

    Excellent teaching style.

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

    Fantastic tutorial, step by step....

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

    Nice Tutorial that is naturally good.

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

    Nice .....Great helpful.. Sir

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

    Day1 for vba. Thanks for the videos..

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

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

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

    Terima Kasih banyak, tutorialnya sangat mudah untuk di mengerti

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

    Sir you are simply great

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

    you are great i congratulate do more for world .

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

    Excellent i can understand easily😁and simple way

  • @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.

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

    good collection and good information ..

  • @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.

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

    This man is my god.

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

    Very articulately taught

  • @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

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

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

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

    Thanks for providing valuable videos.

  • @a.ramakrishnan7784
    @a.ramakrishnan7784 5 лет назад

    Super Super explaining. Thank you

  • @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.

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

    Best teacher.guide

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

    Thanks very much sir
    🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

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

    Awesome..😍😘

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

    Very useful tutorials

  • @JV-xg5jk
    @JV-xg5jk 6 лет назад +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?

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

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

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

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

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

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

  • @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...

  • @JaiBhai.bhai.bhau0
    @JaiBhai.bhai.bhau0 5 месяцев назад

    Excellent❤

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

    Thanks from Turkiye

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

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

  • @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?

  • @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?

  • @KuldeepSingh-pl7rv
    @KuldeepSingh-pl7rv 3 года назад

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

  • @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

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

    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.....

  • @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

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

    Thanks a lot sir 🙏

  • @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 8 месяцев назад

      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!

  • @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

  • @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

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

    Excellent sir....

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

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

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

    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.

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

    Thanks you so much brother!

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

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

  • @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

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

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

  • @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.

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

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

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

    Macro usage understood but Y do v write code when v can actually directly write/perform task in the excel? 🙄

  • @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

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

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

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

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

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

    Oh my god this macro thing is a magic!

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

    GREAT SIR.

  • @khalnayak1155
    @khalnayak1155 7 лет назад +1

    I need ur all vba video can u tell me where I got these

    • @TutorialsPoint_
      @TutorialsPoint_  7 лет назад

      www.tutorialspoint.com/excel_vba_online_training/index.asp

  • @TheStraightPath-np7sf
    @TheStraightPath-np7sf 3 года назад

    Are you from Indonesia?

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

    Beautiful...

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

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

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

    What is the difference in assigning a value using “.value=“ and directly “=“ ??

  • @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.

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

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

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

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

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

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

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

    Thank you Pavan