How to use the Message Box in Excel VBA (syntax you'll need for msgbox)

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

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

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

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

  • @dinutintu
    @dinutintu 3 месяца назад +1

    Step by Step teaching is much more appreciated and it is very useful for us, Jesus bless you!

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

    ممنون لیلا جون

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

    You are an amazing instructor Leila ! Cant thank you enough for such great tutorials !!

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

    Everything you do looks so easy, thank's för every video you post, amazing work.. 🙂

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

    Always the best and clearest tutorials

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

    Thanks for the message about Message Box in VBA!!!

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

      Thank you Mike for your message :)

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

    Thank you so much, you saved me here. As we usually say here in Brazil: Muitíssimo obrigado!

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

    Excellent tutorial on msgbox. Thanks !!!

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

    good example clear and concise. Thank you

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

    Thanks to my brilliant & Beautiful VBA teacher, very informative, very useful, waiting eagerly for the next topics.

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

      Thank you very much Gopala. I'm happy to hear you like the VBA series....

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

    This video is awesome, all your videos are on point Leila.
    I managed to learn and create practical simple questionaire responses because I genuinely understood what you taught

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

    Thanks a lot for this msgbox ..I got some new knowledge
    I need something more if you can ^^
    How to show Notification message in Tray excel vba
    I need to see your method as an expert moreover, as I know you a great person with helpful ideas and explantions

  • @GhostRider-mz1hl
    @GhostRider-mz1hl 3 года назад

    Thank you for passing on you're knowledge, it worked

  • @AzeemKhan-si3gt
    @AzeemKhan-si3gt 3 года назад

    Thank you very much for your teachings for your big fan your youtube subscriber and I had purchased udemy of Microsoft excel vba course 6 months back and I had learned so much from your course I request to you madam please if you know about Tally definition language please make the course on it

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

    Thank you, for the excellent instructions, very clear and concise. 👌

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

    Nice and very informative video..

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

      Hi i have a question can I create msg box while saving any spreadsheet because I use excel on daily basis in my job and huge data so if I set some control check so that i can minimize the error

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

    thank you Leila :) U R my favorite teacher :)

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

    Thank you!

  • @user-ve6mh2ux3f
    @user-ve6mh2ux3f 4 года назад

    You explain very well. Thank you.

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

    Thank you for producing such great videos! I really like the organization, information, and all the details you cover in all your videos! Hope you have a great day!

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

      Thank you Russell for your very nice comment and support.

  • @AbdulRahman-hd6ju
    @AbdulRahman-hd6ju 6 лет назад +1

    i found that your tutorial always amazingly useful .. thank you very much ..

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

      Thank you Abdul. I'm glad you like them.

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

    all your videos are very helpful. Thanks

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

    Thank you for your video. Message boxes are very easy so wasn't going to watch it. Thankfully I did as I didn't know you could add certain types together or access the function like you did. Just shows you that you can always learn new things

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

      Hi Gary - I'm glad you found something new :)

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

    Very powerful.

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

    Thank and i love you Leila Gharani im learning a lot !!!! Muah!!

  • @alhabib-tutorials6826
    @alhabib-tutorials6826 4 года назад

    Thankyou mam very knowledgable topics..

  • @STATUSU-ve3ee
    @STATUSU-ve3ee 4 года назад

    Thank you very much miss
    Please learning vba msgbox in add photos

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

    Thank you Leila for this short, but useful, tuto

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

    Thanks! Your lessons are awesome. However just a suggestion. You should use some bigger screen for display. Kind of smart board. As the visibility is quite less in the current system.

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

    Leila you are just awesome!

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

    Thanks for the video Leila! VBA is amazing and msgbox is so useful !

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

      You're very welcome Kevin. Agree on both points :)

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

    Very nice video It's very helpful for me to use vba in my Excel works

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

    Your videos are really helpful...can u show me how if number multiple 10(10,20,30....) occur show available...... Plz it's urgent

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

    Man thanks

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

    It's an amazing presentation....
    Very useful......
    I love you very much.....
    Thanks.....💗💗💗💗

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

      Glad you like it :)

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

      Leila Gharani
      Your profile picture is so heart touchy......and your presentation is very usefully and I am very happy...

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

    thanks Leila Gharani

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

    I've learnt a lot from you, thanks

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

    Is there an option to record it instead of manually typing the codes? Thanks. Appreciate your tutorials

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

    thanks thanks thanks

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

    Thanks a lot Leila.

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

    Thanks Leila, I really found this helpful.

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

    Love this tutorial! Great job, Leila!!

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

    Awesome video!

  • @Siva-DigitalEnglishEducation
    @Siva-DigitalEnglishEducation 6 лет назад

    I will review those sections. Thank you Mam.

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

    Thank you Leila for this tuto........merci beaucoup pour votre aide ;)

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

      You're very welcome. Thank you for your support.

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

    Thank you for helpful video.
    Is there a way to make the message box fancy?

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

    Hi Leila. Question, I've got a scenario I'm wondering if it is doable with Message Boxes. Is it possible to have a message box pop up as an event procedure say maybe upon opening a workbook and display only cells that have values in a given range as well as values of an adjacent column? So for example, if I want a message box to show only those cells that have values from Column I(Eye not L) and then the corresponding values in column C, could a message box do that as a vertical listing? So something like:
    John Smith - 100
    Nancy Smith - 50
    Paul Smith - 75
    I'm not familiar with the limitations of Message Boxes, but is it possible to do something like that?

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

    Awesome way to describe Msgbox Leila. Please suggest how we give the background color in msgbox.

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

      The MsgBox object has limited customization features. If you need something more sophisticated (i.e. logos, font controls, backgrounds, etc...), you need to use UserForms.

  • @44.7b.kaharaditya6
    @44.7b.kaharaditya6 6 лет назад

    Gr8 Vedio Very Informative knowledge , Thanks

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

      Thank you. Glad you like it Manoj!

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

    Incredible!

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

    I was wondering if there was a way to refill the table after you clear it with the message box. I want to be able to change my chart and if I need to restart, I can hit the clear button and then it will clear and then start from my original table. Is this possible?

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

    I want you to show as a practical.

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

    Great video,is there a way to make the msgbox timed?

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

    Thank you. What is the best way to provide the user with multiple lines of information when a button is clicked? Message boxes are great but requires code to insert lines. Is it better to use a text box on a user form? Thank you.

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

    which is the tutorial for the excel events function you mentioned?

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

    hello leila thanx to share with these type of video bt i would like to say you that although ur content is very good all of us bt i request to u that pick the topic project wise and solve this from where we can learn more.olzz donot mind bt i need this type of video

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

      Thanks Ashish for your comment. Yes - I will be adding in a few of the projects on RUclips too once we cover some of the basic VBA logic.

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

    Is it possible to put pop up if value exceed certain number?

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

    Thanks Leila, Very Interesting :)

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

      You're very welcome John - VBA can be fun too :)

  • @muhammed-yo1oe
    @muhammed-yo1oe 2 года назад

    thanks .. How can I put intend to cods' line like yours?!?

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

    its magic 👍

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

    Your videos are awesome. Question for you, how can you change the font/color of the test in the MSGBOX? Is that doable? Thanks

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

      You can't do that using the standard msgbox. You can do it by creating a userform.

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

    Thank you Ms. Leila the video is great but i really want your advice how can i understand VBAs

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

      You're welcome Ismail - it's best to start from the beginning - you can watch the playlist from the start to see if it's something for you - but to get an in-depth understanding I would suggest a book or a complete course....

  • @Nathan-kw2hs
    @Nathan-kw2hs 3 года назад

    Anything i can do about that spinning wheel you get when the cursor is moved off the message?
    I literally had someone wait for it to go away before trying to click 'ok' in the prompt...

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

    Good One!!!

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

      in Portuguese we usually say in the young figures of speech "ball show" or "show de bola!!"

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

    can you show me how to set up the message box in VBA with expiry date and there are 2 tabs different which are sitting in one file?

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

    Is there a way we can change the fontsize inside the msgbox?

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

    Are you doing online courses?

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

      Yes, you can check them out here: www.xelplus.com/courses/

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

    Hi,, thanks for the video but How can we use this welcome msg whenever we open the excel? (as I tried but it didn't work) (I have already enabled and saved excel as Macro Enabled Worksheet. Also if I want the user to fill a specific cell and he left it blank, is there a way to stop him from closing/saving the file (with an error msgbox)?
    Thanks in advance for your support.

  • @VinayKumar-ij4eu
    @VinayKumar-ij4eu 4 года назад

    Hi Leila.. What if we want to display Emp name with Top 3 bids.. What will be the coding then?

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

    How to connect userform inside msgbox

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

    how can I make an excel spreadsheet give an "expired date" message when I turn on my computer? without opening excel?

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

    Thanks :)

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

    Can you help me, for different kind of price rating method in Excel (like FIFO , etc)

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

    I donot want any sort buttons i.e. ok cancel just show message and keep on showing it until it exit sub then what to do

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

    Can you write in another language? ie. Chinese, Korean, Japanese. Thank you!

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

    How to custom button name in msgbox like "start & Stop" instead of Yes & No?

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

    Mm. very very nice video,
    Mm. how to change text size or colour inside vba msg box

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

    How can I create a message without expecting a response from the user

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

    Dear Ma'am i am biggner to learn about VBA please guide me from Basics to upper level

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

      Hi Santhosh. I have a course that takes you from beginner to advanced here bit.ly/LeilaVBA. It's over 20 hours long. I also have a free playlist here, but start from the beginning of the list: ruclips.net/p/PLmHVyfmcRKyzmbDy6QoBuUDrU5D-jD-Se

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

      Let me check Ma'am.
      Thanks for your prompt Response.

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

    i am getting expected # error on the same line of code ? for the = sign

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

    How to open a file using msgbox vbYes ?

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

    It looks cool but is so difficult to follow up,,,,, I´ll keep looking for tutorials ;(

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

    I am losing my touch
    Greatungs ur highness
    Happy thursday

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

      I'll be uploading VBA videos on Tuesdays for a bit for the VBA series and the usual Excel videos on Thursdays. So happy Thursday is still in place :) Thanks for dropping by on Tuesday too. See you in 2 days.

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

      Leila Gharani can i reply now in case of
      😅😄😇

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

      @@LeilaGharani bi ommmhnɓbk
      Ppppomhu bbjih go. Mnñbnnnbbyou jup

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

    In 6:15 timestamp, Can anybody help me to know when we need to use BRACKETS and when we shouldn't?
    Your reply / Support will be appreciable.

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

    Private text box 3

  • @Siva-DigitalEnglishEducation
    @Siva-DigitalEnglishEducation 6 лет назад

    Hi Mam, this is Siva Kumar
    I got the access to videos from udemy. I started learning. May I know what is automation in excel/vba and how to do that. Can i have any sample videos for that. Thank you Mam.

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

      Hi Siva - automation in Excel is any procedure that's done automatically - for example in this video, when we click on the button and we get a message box asking us if we want to delete data and we click "yes" and it deletes - that's a mini automation. When you program an Excel tool with VBA, you can automate many different tasks. Inside the course in first milestone (section 9) we automate creating a Table of Contents for our files, in the 2nd milestone in section 14 we automate importing data from other files and creating csv files and so on...

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

    Hi, Just want to confirm do you have VBA videos for outlook automation?
    Please advise. Thanks

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

      Hi - in the full vba course I cover two methods to send automatic emails from Excel. One is a simple method that uses your default email and the 2nd is for Outlook. We generate different PDF files for different people and we automatically attach them to an Outlook email (taking the email addresses from the Excel file) - we cover this in the 3rd milestone of the course.

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

    Thank you, unfortunately I cannot get a picture on top of the button, bring to front not working excel 2007

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

      Do you have windows? It should work. I've done this in much older versions of Excel as well...

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

      Thank you for your reply, Yes I'm using the latest windows 10 version 1803. What file format is the little sun you're using? I was trying to use a small .jpg file

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

    Super useful! Do you have any suggestion to create a dynamic message on cell selection. for example imgur.com/p7Zws0e so if I click on a cell with a date it will temporarely have a comment with the day of the week. (maybe ON_CHANGE?)

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

      Thank you Luca - Yes SelectionChange procedure would be useful here. You might also find this article helpful: www.spreadsheet1.com/screentips--onaction.html

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

    hii liela madam me vijay frm jaipur "how I cn join ur excel vba complate course plz tell me bcoz I wnt to learn vba nd chart pivot dashboard

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

      That's great Vijay. You can check out my courses here: www.xelplus.com/courses/

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

    This isn’t shreck, wtf