How to Master the VBA Message Box in 6 Minutes

  Рет қаралды 38,905

Excel Macro Mastery

Жыл бұрын

How to Master the VBA Message Box in 6 Minutes
The VBA Message Box is a very powerful tool. But most users are unaware that it is highly configurable. In this video, you will learn how to master the message in just 6 minutes. You will be able to easily set buttons, icons, highlight a button with a few simple parameters. You will also and easily detect which button the user clicked.
#VBAMsgBox #VBAMessageBox #ExcelVBAMessageBox
SUBSCRIBE TO THE CHANNEL: bit.ly/36hpTCY
DOWNLOAD 20+ Message Box Examples: bit.ly/3hNCVlN
Related Training
The Excel VBA Handbook Course(TheExcelVBAHandbook.com)
Webinar Archives - 60+ Hours of VBA training(excelmacromastery.com/excel-vba-webinars)
Free Excel VBA Resources
Excel VBA Articles (excelmacromastery.com/vba-articles/)
Useful VBA Shortcut Keys
========================
Debugging:
Compile the code: Alt + D + L OR Alt + D + Enter
Run the code from the current sub: F5
Step into the code line by line: F8
Add a breakpoint to pause the code: F9(or click left margin)
Windows:
View the Immediate Window: Ctrl + G
View the Watch Window: Alt + V + H
View the Properties Window: F4
Switch between Excel and the VBA Editor: Alt + F11
View the Project Explorer Window: Ctrl + R
Writing Code:
Search keyword under cursor: Ctrl + F3
Search the word last searched for: F3
Auto complete word: Ctrl + Space
Get the definition of the item under the cursor: Shift + F2
Go to the last cursor position: Ctrl + Shift + F2
Get the current region on a worksheet: Ctrl + Shift + 8(or Ctrl + *)
To move lines of code to the right(Indent): Tab
To move lines of code to the left(Outdent): Shift + Tab
Delete a Line: Ctrl + Y(note: this clears the clipboard)

Пікірлер: 33
@Excelmacromastery
@Excelmacromastery Жыл бұрын
DOWNLOAD 20+ Message Box Examples from here: bit.ly/3hNCVlN
@andrewbouc6015
@andrewbouc6015 11 ай бұрын
clear, concise, showed results of different code, gives enough context for me to go get my ideas into VBA without needing it spelled out for me. Perfect!
@hammeedabdo.82
@hammeedabdo.82 Жыл бұрын
Thanks Paul, We need a video every Week.
@vipulDJhaveri
@vipulDJhaveri Жыл бұрын
Crisp with clarity at its best , thanks a lot Master
@hotflashfoto
@hotflashfoto Жыл бұрын
This is good information. I prefer to use Select/Case instead of ElseIf. It's a lot cleaner and easier to manage, in my opinion. But what you presented is spot on, so I'm not kickin' ya in the knees.
@mshanabar
@mshanabar Жыл бұрын
Awesome 👏 Have been using VBA from couple of year now but this content is amazing
@Excelmacromastery
@Excelmacromastery Жыл бұрын
Glad you like it
@fekrabusinesssolutions
@fekrabusinesssolutions Жыл бұрын
Aaah.. if I knew earlier that I can learn this in 6 mins... Thaaaaaaaaanks ❤
@wayneedmondson1065
@wayneedmondson1065 Жыл бұрын
Great! Thanks Paul!!
@Excelmacromastery
@Excelmacromastery Жыл бұрын
Thanks Wayne
@m_marcamo
@m_marcamo Жыл бұрын
Clear and awesome! Thanks, Master.
@Excelmacromastery
@Excelmacromastery Жыл бұрын
Glad you like it Mariano
@moisestatis5418
@moisestatis5418 9 ай бұрын
great video, thanks.
@reng7777
@reng7777 Жыл бұрын
You are a master mind in vba amigo!! I wish i had the same skill as yours!!
@Excelmacromastery
@Excelmacromastery Жыл бұрын
Thanks Rene
@pk2k2
@pk2k2 Жыл бұрын
LOVE IT
@maciejolejnik6706
@maciejolejnik6706 Жыл бұрын
Very usefull info. Thx!
@Excelmacromastery
@Excelmacromastery Жыл бұрын
You're welcome
@user-wf4vi3br8q
@user-wf4vi3br8q Жыл бұрын
Полезное видео для новичков.
@alializadeh8195
@alializadeh8195 Жыл бұрын
Thanks
@leviatan61
@leviatan61 9 ай бұрын
Thanks for the video, so just to confir, the option vbDefaultbutton 1 ...n can be use to declare a custom button displayed in the message box? for example I have a button from a message box coming up from an application, the options are "Run" and "Cancel". Defaltubutton 1 would be "Run"?
@MikeP59DE
@MikeP59DE Жыл бұрын
Superb explained. Thank you very much.
@Excelmacromastery
@Excelmacromastery Жыл бұрын
Thanks Michael.
@DimebagDerekS
@DimebagDerekS Жыл бұрын
Hello Paul, your videos have helped me tremendously. I have been having issues connecting to a PDF software that our company uses. Even though Kofax PowerPDF has a guide for VBA automation stuff online, I cannot seem to make it work. Do you have any video or website recommendations for connecting to applications? Their Technical Support team has been no help, and any attempts to make connections like the examples they show in the guide are not working. I figured a bright mind like yours might be able to point me in a good direction to figure this out.
@ExcelMadeEasy444
@ExcelMadeEasy444 Жыл бұрын
Nice Explained.
@Excelmacromastery
@Excelmacromastery Жыл бұрын
Thanks for liking
@mohammedhashim7994
@mohammedhashim7994 5 ай бұрын
hi , how can i disable or remove the msg box ?
@Nevir202
@Nevir202 Жыл бұрын
1:05 Sooooo... The intellisense (or whatever it's called) bar you're referencing there, it never appears for me, meaning I always have to guess or else look up this stuff online, no idea how it got turned off, or how to turn it back on. Anybody know?
@Excelmacromastery
@Excelmacromastery Жыл бұрын
You may have an error in your code. Use debug and compile to find and remove all errors. It should work fine then.
@Nevir202
@Nevir202 Жыл бұрын
@@Excelmacromastery I get no errors, and when I click compile, it executes without any warnings. *shrug*
@krishnamanjunatha6183
@krishnamanjunatha6183 Жыл бұрын
need vba code for automatic popup & disappear after few seconds
@Excelmacromastery
@Excelmacromastery Жыл бұрын
You'll need to use a timer and userform
@paolodimartino241
@paolodimartino241 Жыл бұрын
✔️ ρяσмσѕм
My little bro is funny😁  @artur-boy
00:18
Andrey Grechka
Рет қаралды 12 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 10 МЛН
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 3,3 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 38 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 56 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2,1 МЛН