Excel VBA - Write a Simple Macro

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024
  • Excel VBA - Write a Simple Macro
    Lecture By: Mr. Pavan Lalwani Tutorials Point India Private Limited
    Check out latest Excel VBA Online Training courses on : bit.ly/2Km2xpF
    Use coupon "RUclips" to get FLAT 10% OFF at Checkout.
    Check out latest Ebooks : store.tutorial...
    Check out latest Courses : www.tutorialsp...
    www.tutorix.com/
    For more updates on courses and tips follow us on:
    Facebook: / tutorialspointindia
    Twitter: / tutorialspoint
    LinkedIn: / tutorialspoint

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

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

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

  • @flyingfoxes.
    @flyingfoxes. 4 года назад +22

    Hope you know that COLLEGES in the US are learning from your videos. Instead of our professors teaching us, we're directed to watch your videos and you're doing a SUPERB JOB. Hope they pay you well otherwise move here and get paid 100k plus lol

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

      Where are you located, I wish I could teach abroad VBA for Excel

  • @BOWENSblog
    @BOWENSblog 4 года назад +10

    It's good to learn new skills. Some people in the corporate world do well with these to simplify things. This is one way for people to climb the corporate ladder with Microsoft Office Excel. Especially Headquarters. Good to learn while unemployed

  • @vikaskpadale
    @vikaskpadale 5 лет назад +29

    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.

  • @faiza987654321
    @faiza987654321 Год назад +3

    I understood what I needed to in less than 5 minutes what I could not in 7 weeks of class.

  • @salestransformationservice6202
    @salestransformationservice6202 5 лет назад +7

    You my friend are a gifted instructor. I watched numerous videos and got bored after 1 minute max, not your videos... Thanks and keep up the good work

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

    Thank you very much Sir. Its fun to learn from you because you make complex topics comprehensible.

  • @zerobars3
    @zerobars3 3 года назад +2

    A very clear introduction. Thank you

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

    I have subbed your channel because you have the most education videos cause now I am a VBA nearly a master of it so thanks for these videos

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

      can you tell me which excel version they use like 2013 ,2016

  • @rishabhsaxena9858
    @rishabhsaxena9858 3 года назад +16

    Hello, this was very helpful. I need your assistance. I get data in a particular raw format on daily basis and I have to put that data in a particular format. How to write a macro to automate this procedure where in the data automatically gets updated in the required format.

    • @muralimohan3118
      @muralimohan3118 2 года назад +5

      Use power query tool in excel

    • @user-fx4gr7ge3h
      @user-fx4gr7ge3h 9 месяцев назад

      ​@@muralimohan3118where is the tool in excel

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

    the best explanation about vba.

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

    Very good explanation. Thanks.

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

    sir u explanation way is very good and impressive

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

    He's best Excel teacher

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

    Useful Videos for the Beginners

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

    Awesome trainer. Enjoyable and beneficial course. Thank you.

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

    tha k you sir you clear my doubt

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

    Simple tricks awesome trainer.

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

    I like how you're standing and pointing to the menu items. How would I write a VBA to ask for input and then print particular documents that's on the computer because of the input (eg 1 , then print docA, 2 = doc B, 3 = both ). Thanks.

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

    Excellent dear, I have learnt macro very easily 😍

  • @rainforlife6189
    @rainforlife6189 6 лет назад +6

    VERY NICE, WELL UNDERSTANDING, but can the keyboard be in front of you, but not for the camera to capture. i.e.bit lower

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

    Thanks for information.

  • @LiveLifeFreeStyle-qx8cy
    @LiveLifeFreeStyle-qx8cy 2 месяца назад

    Awesome sir👏👏👏👏👏👏

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

    Compare sheet1 and sheet2 and show the result in sheet3, sheet4 and sheet5 which contains the data which are
    1. Common in both sheets
    2. Data in sheet1 but not in sheet 2
    3. Data in sheet2 not in sheet1

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

    you are savior

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

    THANK YOU SIR...

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

    Hi Pawan,
    The way of your teaching that’s awesome. I like it
    Thank you so much uploading these videos.it help us to understand easily .

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

    Excellent presentation.

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

    very nice tutorial .

  • @kanhaiyathakur5610
    @kanhaiyathakur5610 Месяц назад

    Hello,
    Just wanted to check with you do you provide any class for vba macro learning. Actually i am looking for someone who conduct class so that I can register myself.

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

    Good explanation, sir please provide more macro video

  • @gangakv3578
    @gangakv3578 7 месяцев назад

    2. Write a VBA Code that will loop through the below data and calculate the unit price of all the listed products!
    unit price from no of sold and amount of sold

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

    Very Smart Exp.....n

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

    Can you help me out in preparing a code for removal of invalid characters for selected rows and columns in excel.
    If so that would be really grateful.

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

    How to Write Code in Macro
    =====================
    1)Developer ==> Visual Basic ==>
    2)To Create New Module ==> Insert ==> Module
    3)In Project Explorer you can see your Module
    4)Then In Properties window you you can add Module Name
    5) Code View Pnale Type the Following Code
    Sub first_Macro()
    Msgbox "Tutorialspoint"
    End Sub
    6)In Toolbar Run Dialogue box will show
    7)Finally you can view the output in y Excel

  • @GG-fe7di
    @GG-fe7di 3 года назад +5

    Sir How to write a macro .?
    This is the Q asked in a interview

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

    cant open my Visual basic application tool bar even with developer being checked, please help me sir. Highly appreciate your excellent video

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

    Thanks a lot

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

      Sir, I am 10 year old and learning VBA from your channel. Please guide how to remane module.

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

    This is genius of you to make the like button zero

  • @h.m.pargaonkar8636
    @h.m.pargaonkar8636 3 года назад

    in my case it is not asking "which macro to run" ; directly running both macros

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

    Nice learning

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

    Thank you

  • @RaviTeja-qc4jt
    @RaviTeja-qc4jt 4 года назад

    Super sir really appreciate

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

    Thanks a lot mr

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

    Good dear

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

    This is very good vedio

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

    verynice videos,easily understandable.Can you please explain this type of videos for catia,Nx interface.

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

    These are good, no doubt..but I expected a bit more explanation on each part, Like, what exactly is Sub Procedure or the fundamentals concept of object oriented programming. What are those objects in VBA for excel, what is the property of an object? what is method? What exactly module is? Why should we write the code in module? Why not in sheets? In cell referencing you mentioned whenever writing a number don't give inverted comma, what does that mean? If I want to write a number as a string? What's the difference? Why should we put inverted comma? What is String? What's the difference between a string and a number? How to write a string? For a beginner before dive into the code, the explanation is mandatory. Without it he will just try to memorize the whole thing, do this to make it, do that to make that..but the logical sense,the deep understanding won't ever grow! He won't understand what he is actually writing for what, forgetting these things without clear concepts will make huge loophole in his/her learning curve. Man! You are teaching an excel guy how to code for the very first time, so definitely you shouldn't assume he/she has a coding background. First go through the fundamental concepts and then dive into code.

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

      Bhaai ye excel basic macro ka video hai. Programming ka 4 saal ka course nhi

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

      @@ArjitRaj haa wo to mujhe pata hain.. Basic macro hain.. To main jo jo cheeze bola wo kiya advance topic hain? Wo to completely basic hain.. Wo agar koi nahi samajhta hain to wo to age nahi baar payega... Memorize karne ka to faida nahi hain in reality...

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

    My Reference :
    1) Write in module
    Sub Name() .... End Sub
    2) Msg("Text")

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

    hi sir good evening !
    sir i want to set a voice or speak " that is the sentence in msgbox " at the time of open the excel and close the excel
    please help me. asap
    thanking you

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

    مبدع

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

    How to enable insert, view , and other tools in VBA in macbook , I don't have that option in my macbook the way you have insert in your ribbon

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

    Hi, I want to make and auto updating summary from my excel based invoice file containing around 320 sheets. Can it be done thro macro programming?

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

    Omgod.. thank you!

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

    Awesome

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

    My question is on MS Access. I have two tables with two separate forms. The first table based on the
    first table has a calculated text box. I want to show the textbox data
    to a field to another form. How to do it. Thanx and regards.

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

    Will you provide macro (VBA) full course training. If yes then please share your contact details.

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

    Hello, If ever I will try to put a breakpoint in my macro code, Runtime error 1004 will occur, but If I will remove the breakpoint the macro runs okay

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

    Salam
    Very good

  • @Srinit-oh2te
    @Srinit-oh2te 4 года назад +1

    Hi i have one doubt in writing of macro for copy from excel and paste another application with multiple line item .

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

    Good evening Sir,
    How to get datas from another database in data form

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

    Which excel version are you using?

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

    Hello sir i want to learn complete vba & macros from you ri8 from scratch,can you tell me the procedure?? But i want online mode as i am on different state

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

    Yo thanks

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

    I want to write a macro such that my daily report values will save automatically in a different sheet with respect to date....Can you help me to do?

  • @abunaseem6745
    @abunaseem6745 7 месяцев назад

    How to write a vba code in wps office spreadsheets

  • @JV-xg5jk
    @JV-xg5jk 5 лет назад

    What is the purpose of having the message box? The previous macro about coloring cell is helpful.
    How does the msg box help??

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

      MsgBox is used when you want to display any messages, Like pop up.

    • @JV-xg5jk
      @JV-xg5jk 5 лет назад

      @@dhannu143143 Thanks!

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

    Nice

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

    Good

  • @sukhpreetkaur-eu7lq
    @sukhpreetkaur-eu7lq Год назад

    If I try to find the coding of someone’s protected macro. Will it give a trigger to the author that someone tried to know the coding of the macro

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

    Sub OpenDartFolder()
    Dim folderPath As String
    folderPath = "C:\Users\kunko\OneDrive\Desktop\Dart"
    Shell folderPath, vbNormalFocus
    End Sub
    i have written this VBA Code and assingned macro button to it but when i click or run the code an error occurs showing invalid procedure call or argument. what might be the problem please do help me it will be very greatefull of you.
    this code is used to excess folder present at any location in your pc using excel file and macro so please do help me

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

    Sir, I need VBA coding for
    Multiple images insert at once and with title.
    Pls.. help us

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

    Bro, how save this macro and share with some one to use it?

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

    Hi! I am facing an error while running this code. The error is - Compile error: Argument not optional. How to solve it?

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

    Can anyone help me to import all the text and other properties like colors and styles from php screen to excel..

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

    Hi
    I am into accounts MIS.
    Will it be helpful for me?

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

    How to add macro for excel in ms teams?

  • @maheshkumar-mp9vb
    @maheshkumar-mp9vb Год назад

    can i create tying software in excel

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

    In VBA project window, microsoft exel object and sheet names are not visible. Can't able to run macros. Any solutions

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

    Sir i want to convert excel macros into google sheets please help me with this

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

    how to insert a linke break in the vba in excel

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

    While writing msgbox 100 why did you put 100 in double quote??

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

      He Didn't put double quotes for 100. in Excel or Macros if we write text we need to put it in double quotes, for numbers and cell reference no need to write in double quotes.

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

      naresh koppurotu thanks

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

    What to do whn click on the visual basic and code did not come

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

    Hi Sir, I am getting the Compile error subject or function not defined ,can u plz help

  • @manod7100
    @manod7100 Месяц назад

    Hi sir

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

    Hi sir vba pe click karne ke baad blank page aa raha hai kya karu.
    Please help

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

    Sir I want to subscribe to your MS Excel and MS Word classes for my child in class 10th. Do you have any online course? Send me the link.

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

    Hi still I'm getting run time error and it says u have purchase

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

    Can we practice with normal excel file?

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

      Save file as macro enabled..
      uniqueexcelvba.blogspot.com/p/beginner-guide.html

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

    How anyone can know that msgbox needs to write in shirt form why nit messagebox?

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

    Hi, I am unable to change the name i.e B_Write_A_Macro under Properties. Can you please assist?

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

      You can just double click on the module, and change the name

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

    Thanks sir

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

    Dear sir kindly assist me o merge xmls with vba

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

    Sir isey open kaisey kartey hai mere wale excel mai developer lika hua ni a rha hai

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

    I don't developer tab ,in my excel what to do

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

      If the Developer Tab not available in Excel Menu, right click on Menu bar and choose 'Customize the Ribbon' option and select 'Developer Tab from the list.
      uniqueexcelvba.blogspot.com/p/beginner-guide.html

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

    Hi, can you help with freelancing, I need assistance for a small project

  • @ChristyBoger-q3v
    @ChristyBoger-q3v 3 дня назад

    Ava Extensions

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

    Maconha Brazil?

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

    Excel VBA Project asking for password

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

    What is the macro..
    You are not having any intro?