How to Add a Yes No Pop-up Message Box to a Macro Before it Runs (Part 4 of 4)

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

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

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

    You make it soo easy! I have been hesitant to learn macros because I thought it would be so challenging, but you make it so easy. I'm a 'why does it do that' person and need to know all the parts and you explained it all. Thank you!

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

      You're so welcome, Kelly ! 😀

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

      I am the same way. I like to know how everything works so I know what my importance is.

  • @excelisfun
    @excelisfun 8 лет назад +5

    Thanks for the well made and informative and useful 4 part series!

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

    Jon, you are amazing. You make all your trainings so easy to understand. Thank you!!!

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

    Hi John, Your vedios on Macro helped me lot , I liked your style of explaining every thing in very easy, short and understandable way. Good luck to you and keep it up.

  • @lionelvelez9198
    @lionelvelez9198 8 лет назад +2

    This information is very informative and useful. The four part series was great. You explain it so simple that anyone can do it. Thank you

  • @okyayli
    @okyayli 3 месяца назад

    Great video, clear and simple explanations!! Thanks a lot Jon.

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

    Excellent 4-part tutorial! Thanks for sharing!

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

    Excellent class ! Your advice is so important and helpful. Thank you so much~ hope to follow all your courses

  • @sohayle_p.6955
    @sohayle_p.6955 2 года назад +1

    Very informative. Excellent! Thanks Jon, keep up!

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

    Hi Jon, you've been fantastic! thank you so much! I'm a VBA beginner and I tried to run a module written on the first file on a new workbook and for some reason part of the module ran on the first workbook, is it because certanin commands are workbook specific? many thanks!

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

    Why you didn't code an "exit" to not execute the macro inmediatelly if the answer is "not"?
    Could it be possible to create an extenal routine called "test_execution" and there just prompt for the "yes" or "not" and abort all the execution accordingly? So, I could call to "test_execution" at the beginning of all my macros.

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

    Fantastic video for beginners, thanks!!

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

    Great topic and training session

  • @wisomiso2348
    @wisomiso2348 8 лет назад +1

    It was indeed helpful and enjoyable at the same time, great thanks man!

  • @DarrellWade
    @DarrellWade 8 лет назад

    Thanks this was an excellent series and #4 was GREAT!

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

    Thanks! You're a legend. Unfortunately I found this video AFTER I accidentally clicked a 'delete results' macro I created and assigned to a button... do'h. At least now it won't happen again ;-)

  • @shoppersdream
    @shoppersdream 11 месяцев назад

    Nice, thanks! Please show us how to change Pivot Table Filter Reports Tabs in different colors or by VBA Code and then add them to our Tool Belt. Thanks

  • @tannertucker22
    @tannertucker22 8 лет назад +5

    Thank you Jon. This is a big help.

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

    I’m new to excel. I appreciate your videos. I have copied my personal vbs file and exported my ui file. Is there a video that shows how to import those files on another computer?

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

    I'm trying to share the macro I created with my team. How can I save it so all they need to do is enable an add-in? Thanks in advance!

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

    Thanks Jon.. this would really helpful..
    Thanks for sharing..

  • @raju5787
    @raju5787 3 месяца назад

    how did you format the code in that editor

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

    This is exactly what I needed.

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

    Wonderful video sir

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

    Thank you Jon. I wonder if there's a way to display an image containing math formulas or math symbols such as "Square root" in a message box ?

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

    Thank you - Great help! Can the message box (and the macro) be "Would you like to ACCEPT the result of the macro? This way it could be even more safer with such a message box.

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

    Hi, Thanks for sharing this. I used this vba query in my excel macro file. But im getting an error message like "Compile Error : Expected End With"

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

    Thank you, very clear very easy!!!

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

    Extremely useful macro tutorial series. Thanks a lot :-)

  • @akshitaanddhruvkidsvlog3304
    @akshitaanddhruvkidsvlog3304 8 лет назад +1

    Thank you Jon, for this informative videos.

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

    Thanks for the great video. I've watched all 4 and they are great. When I open a new workbook, I can't run the functions that I have saved in my PERSONAL.XLSB unless I drag the module to the current workbook macros. Is this normal or have I missed something? If this is normal is there a way around this so I can use all my coded functions as soon as a new workbook opens without dragging modules?

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

    How do you add the macro tab on the ribbon for Mac? I can't do it the way you explained.

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

      Hi Melissa, I don't believe you can customize the ribbon to add macros buttons on the 2016 version of Excel yet. You can use an add-in file and write XML code to customize the ribbon. Here is a forum post that explains more. answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_mac/assign-macro-to-ribbon-button/cb37f050-d1b4-4cd3-be69-d2262e9ba213

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

    Hi Jon,
    I did open a Personal Macro Workbook according to your instructions.
    When I run the 3-Sheet-Macro, it always opens a new Worksheet called PERSONAL, although there is no coding stating that in the macro? The command as such is only executed in this PERSONAL Worksheet even if I am working on another Worksheet. How come?

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

    oh followed. checked all data and i get the prompt yet it does not run the macro (i dont get my extra sheets) on chosing yes HMM

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

    Thanks from Scotland, John.

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

    If any cell change the popup will appear like vbyesNo once select yes then the result yes fill in specific cell same no answer pls guide code

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

    Thanks, it is simple to follow and use

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

    Hello Jon, very helpful video.
    I want to know that can we make any macro or popup massage who reply us that how many updates have been changed.
    For example - when we find any word and replace with some other word mannually the excel shows a pop-up massage that "10 changes made". Can we apply this in a macro.
    I hope you understand my query.

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

    thanks so much ......very much helpful info

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

    Jon, you are linking a macro from the workbook "PERSONAL.XLSB" to your Excel ribbon. This means that if the workbook "PERSONAL.XLSB" is not open, excel will open this workbook to find the macro. Are we able to add an error check to state that if the original workbook is not open then do not run the macro? I can't seem to find a solution to this issue, so any suggestions would be appreciated.

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

    thank you very much for the tutorial.that was awesome videos and easy access to all personnel micro

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

    Very informative. Thanks.

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

    Hey Jon, that was a great video, thanks. So I got into VBA a few years back and designed a user form to keep inventory with bar codes. This time around I have designed this VBA user form to do quality checks for tech equipment. Some of the techs that will be using this have asked if they can skip out of the user form and just enter the work sheet to add the columns they are working on. This seems like a solution that may just work. Will this work for activating F5 to start the user forms and not start if the answer is no?

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

    Thanks Jon

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

    Great Video

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

    Thanks a lot, this is a great macro and very helpful. Just implemented and it works.

  • @imranali-iy5wk
    @imranali-iy5wk 7 лет назад

    hi john please tell me how to creat add-ins? I am waiting your reply thanks

  • @tristanquintus3200
    @tristanquintus3200 8 лет назад +1

    Thanks Jon, very good/useful...

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

    Sir how can i print a hidden sheet.

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

    Thanks for the great info

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

    Hello Jon
    Thank you for this amazing series, I have one question! How did you align your 3 lines text code by one click ?
    (In 5:44)
    Thank u in advance

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

    Here is a test for Jon to see if he reads these comments and how quickly he responds. I am writing this on 14 Dec 2022 at 19:58 UK time. Over to you Jon

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

    I tried to type Dim Answer~~~~ but only question marks came out. I don't know why 😢😢

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

    Thank you jon! I've been trying to find a tutorial that just continues on the pressing of no but all these dorky kids with the other videos would only show how to make silly messages on the clicking of no and this is not very professional with my college project

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

    Truly very helful . Thank you a lot

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

    This macro was working fine when I first typed it, and then it stopped to work. I've discovered that accidentally I've changed the vbYes into bvYes which has no meaning in the syntax . So, I fixed that typo. and it should work fine

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

    Thankyou

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

    Thank you :)

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

    Thanks.

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

    I just came here to learn how to mess with my friends making annoying msgboxes

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

    Very helpful, I have been running macros for so long, I run some of them by mistake and ruined some of my work jajaja

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

    Excellent!!

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

    How to add msg pop up to a code after its macro Run..??? you have done for before its macro run

  • @me3jab1
    @me3jab1 8 лет назад

    Very useful.. Teacher