Тёмный

25 Nooby VBA Habits You Need to Ditch Right Now 

Excel Macro Mastery
Подписаться 84 тыс.
Просмотров 21 тыс.
50% 1

25 Nooby VBA Habits You Need to Ditch Right Now
Unlock the full potential of your VBA skills by breaking free from these 25 common nooby habits! 🚀 In this video , we look at the Excel VBA habits that may be holding you back and show you what to do instead. Whether you're a beginner or an experienced user, ditching these habits will boost your productivity and make you a VBA pro in no time. From inefficient coding practices to overlooked shortcuts, we've got you covered. Don't let these habits hinder your VBA journey - watch now and level up your programming game! 💻🔧 #VBA #ProgrammingHabits #CodeLikeAPro
Join my course
Effective Excel VBA
▸bit.ly/3wDYEnX
SUBSCRIBE TO THE CHANNEL: bit.ly/36hpTCY
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)

Наука

Опубликовано:

 

19 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 131   
@Husky_Passion
@Husky_Passion 4 месяца назад
also always upcase the first letter of variables in declarations, but write them in lowcase on coding/using them ==> if any stays lowcase, it means you miswrote it
@ragnarok7976
@ragnarok7976 4 месяца назад
Something I like to do is use "Option Private Module" at the top of all my modules except for one of them which I call "Public Module". In the public module I put all the subs that will be attached to buttons or activated via macro short cuts. That way only the functionality that I want exposed to the user is available outside the VBA editor. This helps ensure users don't accidentally run subs that are only intended to be called by other subs. The public module can still access the private modules just like a regular module. It's basically like making an interface that only exposes the functionality you want exposed to the user.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Very nice solution.
@joukenienhuis6888
@joukenienhuis6888 4 месяца назад
Technically an interface is something different, but in functionality it kind of looks like it. Only this “interface” is directly callable 😃
@ragnarok7976
@ragnarok7976 4 месяца назад
@@joukenienhuis6888 Interface in the UI sense. Something that goes in front of all the nitty-gritty and only exposes a few key controls to the user. I realize there was some ambiguity with the programming term there but I couldn't really think of a better word to get the message across.
@EricHartwigConsulting
@EricHartwigConsulting 4 месяца назад
This is really clever! I was not aware of the "Option Private Module" to make all sub's contained in that module even public subs invisible to the user in the macros window dialog box. Thank you for sharing.
@stevegarside5026
@stevegarside5026 4 месяца назад
I did not know about Option Private Module. Nice technique, thanks for sharing!
@rautoramarautorama9324
@rautoramarautorama9324 4 месяца назад
Best to watch 0.75 speed and understand what is what. Because i often find you talk too fast.....
@oliveroshea5765
@oliveroshea5765 4 месяца назад
great video - thanks for posting!
@vincentlee7995
@vincentlee7995 4 месяца назад
Great Video, I learned a lot from you, thank you!
@edwardkelly1262
@edwardkelly1262 4 месяца назад
I wish there was a channel like yours but for C# which I have started to learn to try and speed things up even more.
@kellybly5189
@kellybly5189 4 месяца назад
A great informative video which gave me ideas on how to speed up my code and make it a lot easier to understand. Great job, Paul Kelly!
@EricHartwigConsulting
@EricHartwigConsulting 4 месяца назад
The entire video is really great information thank you Paul! I have never considered using Enums to hold column number references but that is a really good idea.
@nadermounir8228
@nadermounir8228 4 месяца назад
Thank u Paul for this nice Video 📹 👍
@haragorn88
@haragorn88 4 месяца назад
Wow, thats a lot of great stuff packed into 8 mins. Valuable Paul.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Glad you enjoyed it
@joeburkeson8946
@joeburkeson8946 4 месяца назад
Great review thanks.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Very welcome
@joaocustodio2094
@joaocustodio2094 4 месяца назад
Another very useful video. Thanks Paul.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You're welcome
@johnwayne8059
@johnwayne8059 4 месяца назад
Thanks for all of your work, Paul!😉🤟😎
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You're welcome.
@droidfan
@droidfan 4 месяца назад
Wow! This was great! Thank you!
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Glad you enjoyed it!
@stevegarside5026
@stevegarside5026 4 месяца назад
This video is so very informative. I have been writing code for many years, and some items mentioned I did not know about. Everyday is a learning day. Thanks for sharing!
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Glad you liked it
@mixtape8476
@mixtape8476 3 месяца назад
Thank, it helps me a lot
@Excelmacromastery
@Excelmacromastery 3 месяца назад
You're welcome
@kcerny43
@kcerny43 4 месяца назад
I found a bookmark in VBA very useful. But I always have my code in my head. Thanks, Paul!
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You're welcome
@MrStuartAllan
@MrStuartAllan 4 месяца назад
Great video with lots of useful tips. Thanks for sharing!
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You're welcome
@donclay3511
@donclay3511 4 месяца назад
I've written a ton of VBA code but I'm sure I still have some of those in my code. I tend to reuse working code over and over again. It probably wouldn't hurt me to make another pass and get rid of some of them. You've helped me immeasurably over the years. thanks. Have you ever considered adding in Libre Office Basic to your courses?
@mikheilchigogidze4224
@mikheilchigogidze4224 4 месяца назад
Great Video! Thanks as always. I have been following your videos for more than 5 years and still find new things. Thank you!
@davidtarvin8858
@davidtarvin8858 4 месяца назад
I've been using VBA for a shorter duration but I feel I get a lot help from these videos.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Glad you like them.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Great to hear
@GanovAlex
@GanovAlex 4 месяца назад
thanks a lot. very useful 👍
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You're welcome
@JavierRuizGarcia
@JavierRuizGarcia Месяц назад
I've been the VBA expert at my office for around 10 years... and I still learned a few new things.
@djunabug
@djunabug Месяц назад
Amazing, as usual! Now I’m scrolling through show notes looking for links to full videos on hints touched upon here. First up: enums! Including those links here would up your well-deserved view counts, I’m sure 😊
@Excelmacromastery
@Excelmacromastery Месяц назад
Good idea
@BrianFesler
@BrianFesler 4 месяца назад
Great video Paul. Good to see a new one. Perhaps one on Object Oriented Analysis and Design?
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks Brian, OO is such a big topic it really requires a series of video or course.
@josealvesferreira1683
@josealvesferreira1683 3 месяца назад
Super interesting, thanks
@Excelmacromastery
@Excelmacromastery 3 месяца назад
Glad you enjoyed it
@DarrenSaw
@DarrenSaw 4 месяца назад
Another great video, luckily I'm only guilty of 2 or 3 of these, something to work on though!
@sachinbizboy
@sachinbizboy 4 месяца назад
Thanks for sharing.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You're welcome
@Squeeonline
@Squeeonline 4 месяца назад
This is helpful and reminds me I'm still a n00b for some things!
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Glad you like it?
@nottydread
@nottydread 4 месяца назад
Fantastic stuff
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks
@joukenienhuis6888
@joukenienhuis6888 4 месяца назад
Thanks for reminding me to these obvious but easy to miss tips. It is always good to keep being reminded if you do not use it often
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Glad it was helpful!
@josh_excel
@josh_excel 4 месяца назад
Good suggestion, even for experts. Another thing I like is using Shift+Tab to remove indentation in a block of code in case you need to reformat it.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks.
@67bm10
@67bm10 4 месяца назад
I just found your videos - I LOVE YOU!! 🤣🤣🤣🤣🤣
@russballaam1621
@russballaam1621 4 месяца назад
Hi. Thanks for the brillient channel. Would you consider doing a video that covers the differences of Excel VBA running on an Apple Mac OS to running on Windows? My user base have both Apple Mac and Windows machines and in some case things things that work for Windows do not work on an Apple Mac. For example, I noticed that you did a tutorial recently about sending Outlook e-mail, but think this would only work on a Windows machine. Unfortunately I only currently have access to Windows, so it makes it very difficult to write and test code and I generally have to send it to a known Apple Mac user and get them to test. If you could summarise the main differences that would be great.
@davidbethke5463
@davidbethke5463 4 месяца назад
A great video! Is there a plain text version? I like to annotate things like this, as I'm already doing some of them and others I'd want to add more details as to why I'd want to use them.
@samualgotze9823
@samualgotze9823 4 месяца назад
Of course like him as profs in his IT field blast stunning... I expect if he could give us a lesson how make combine between class module and dialog box UserForm interaction to optimize the data treatment... Thanks guys!
@martyc5674
@martyc5674 4 месяца назад
Great vid Paul- I thought Dim a,b,c as xyz assigned the same variable type all along 😢
@Excelmacromastery
@Excelmacromastery 4 месяца назад
It's an easy mistake to make especially if you have used other languages.
@straight6604
@straight6604 3 месяца назад
Number 25 button assignment works for Form Control buttons but not for Active-X command buttons because their event handler code must be in the sheet containing the button. There doesn't seem much point in making a separate module just for some buttons but not others.
@deejay127
@deejay127 4 месяца назад
Best video yet
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks
@logic3686
@logic3686 4 месяца назад
Your videos are pro. I am guilty of some of these.
@charlesw3120
@charlesw3120 4 месяца назад
Great video.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks
@ganlyb
@ganlyb 16 дней назад
My COBOL teacher hammered it into me to declare variables at the top. Possibly due to the nature of the declaration section
@hotflashfoto
@hotflashfoto 4 месяца назад
I still prefer to use the declarations area at the top for all of my variables, which are almost always Private. I can find every one of them, they don't clutter up the sub or functions, and they are all grouped together. I also use a form of LNC to name my variables. So at 5:00 for the "BadVariableNames", the 4 variables would be curCusAmt as Currency, lngCnt as Long, dteCurDay as Date, strCusNme as String. This way, no matter where they're used in my code and no matter who is digging through it, they have a fighting chance of knowing what type of variable it is from the first few characters of the name. I like your suggestions a lot and have been subscribed for some time. I always learn something new and good in each video. This time, I especially like the idea of having a module just for the button click events. That is truly organized!
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks, glad you liked the video. LNC is considered outdated but if it works for you then use it by all means. The thinking is that if you name a variable customerName it is obvious that this is a string. There is no need to include the type in the name.
@hotflashfoto
@hotflashfoto 4 месяца назад
For a string that's true. With the currency, integer, and long data types, it can get messy, though. The original names were customerAmount and count. By adding the data type as part of the name, all doubt as to what kind either one may be is removed. I use them in my code so I don't have to remember or refer back to the declarations. So long as they're declared, they will still be whatever type they are. The naming convention is there for the coder, not the computer.@@Excelmacromastery
@theexorcist666
@theexorcist666 4 месяца назад
I would also suggest that if you have to scroll up to see the data type of your local variables, then there is probably scope to move some of that code into its own function or sub i.e. Single Responsibility Principle of Clean Code. I think the recommendation is something like max 20 lines of code in a single function or sub. Also, re shortened names like cusAmt and cusNme, whilst it may seem obvious to you, especially when you use it all the time, it just adds more cognitive load when reading someone else's codebase (or even my own old code when revisiting years later!). It's like reading a page filled with typos. You'll probably still be able to understand it but it hurts the eyes, the brain and slows you down. My personal opinion is that the few seconds longer it takes to type is more than made up in reduced cognitive load when reading and understanding. I prefer longer, meaningful names for improved readability (but obviously within reason 🙂).
@SimondeLisle-au
@SimondeLisle-au 4 месяца назад
Used to do this but it annoyed me with numbers if they changed type in my code e.g. sinNumber to dblNumber to curNumber. However I saw a friend who just uses one letter prefixes and uses nNumber cNumber, sString, vVariant, bBoolean, dDate and now I prefer that.
@hotflashfoto
@hotflashfoto 4 месяца назад
That's also a good method because it's a standard way of doing things that is logical, meaningful, and descriptive. That's my whole point in a nutshell. Good job!@@SimondeLisle-au
@m-squaredcontractors9720
@m-squaredcontractors9720 4 месяца назад
Thank you for the awesome video. Just one question, are public constants also a problem?
@Excelmacromastery
@Excelmacromastery 4 месяца назад
No. Because the value doesn't change, it doesn't cause problems.
@m-squaredcontractors9720
@m-squaredcontractors9720 4 месяца назад
@@Excelmacromastery Noted thank you 😊
@joukenienhuis6888
@joukenienhuis6888 4 месяца назад
I am not that familiar with constants, but do I understand it correctly that the first named constant in the example is valued as 1 and the second as 2, etc. ?
@ricos1497
@ricos1497 4 месяца назад
​@@joukenienhuis6888you're thinking of enums. A constant can be anything, just a fixed value and often public. For example, you might have a public const string of a folder name. Something that you don't want to give the user the functionality to change, but it could be referenced multiple times in your module, so you throw it to the top of the code so that you only have to change it once if you change folder. Obviously that's a rudimentary example and not something you'd do in many cases.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
@joukenienhuis6888. As @ricos1497 said, you are thinking of enums. You would use Enums instead of constants for long integer types as they are more flexible than constants.
@rrrprogram8667
@rrrprogram8667 4 месяца назад
I king of this world.... Declare you as the king of Excel
@henrikijonkoping4694
@henrikijonkoping4694 4 месяца назад
Great
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks Henrik
@henrikijonkoping4694
@henrikijonkoping4694 3 месяца назад
if i Understand it correctly at 1:53 the text in the middle must be Sheet in other workbook?@@Excelmacromastery
@Red00022
@Red00022 Месяц назад
I guess the range to array is true to be faster. But what if you need to update the data as well? Don’t you lose the range addresse?.
@seamushand8439
@seamushand8439 4 месяца назад
Guilty as charged :) for a few at least !
@Excelmacromastery
@Excelmacromastery 4 месяца назад
We've all been there.
@Mesjach
@Mesjach 4 месяца назад
I'm not an expert by any means but I don't agree with #14. In large programs, keeping track of the variables becomes a nightmare. For example, I need another Long type variable. Did I use j or k already? I have to look for them. When they are all in a block at the top, I can easily see what I have and add to it. When looking up a variable with #14 it's either right above OR near the 1st instance of it being used, so if it's used multiple times across the code, you often have to look for it. With big variable block at the top, any time you see a variable you know where it's declared - at the top. #14 also makes the actual code look longer, cause you have Dim's everywhere, as opposed to having all declarations at the top, and the "meaty" part of the code short and clean. Maybe it's a "me problem", but as a long time viewer of this channel I tried declaring variables as I used them multiple times and just had a worse experience.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You said "In large programs, keeping track of the variables becomes a nightmare". One habit I should have included was to keep sub/functions small. They should perform one action and not be more that 15-20 line if possible.
@ricos1497
@ricos1497 4 месяца назад
​@@Excelmacromasteryyes! I actually like to break my code down into reusable functions where possible, which I find is much easier for error handling and code reuse. However, I still agree with the OP, and I place the dims at the top (through habit). With smaller subs/functions, it's rarely an issue. I'll maybe try your way sometime.
@Mesjach
@Mesjach 4 месяца назад
@@Excelmacromastery Keeping them small and portable is something I have to improve at. It would definitely help this issue as well. In any case, thanks for great content!
@dj_automaton4300
@dj_automaton4300 4 месяца назад
Declaring variables at the top is a habit I share as well, but realize it is a bad one. As Paul has said, if you have a long routine, that is bad practice. This is the actual nightmare you speak of. All code grows as we develop it, so grouping the variables as they are used makes it easier to chunk it off to its own routine.
@noviceprogrammer2011
@noviceprogrammer2011 4 месяца назад
I always like to be specific, so every Sub is preceeded with either Public (the default) or Private. I also like named parameters, so will write rng.Copy Destination:=wksData.Cells(1,1)
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Named parameters are good.
@VladikHannzzeboff
@VladikHannzzeboff 4 месяца назад
I'll just leave a comment here for RU-vid to promote this video in gratitude to the author for his work
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks 😊
@hammeedabdo.82
@hammeedabdo.82 4 месяца назад
Thank you for the informative and insightful video...I have a question...As you know, Python has become official within Excel.. Is it possible to build the same previous trading simulator on Excel but using Python, especially since it has become official within Excel? And will the trading simulator have the same performance and quality as the previous trading simulator, that you built?
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Python is only available within cells to manipulate data. Kind of like advanced formulas. This means it doesn't work with buttons etc. so you couldn't build an equivalent trade simulator with it.
@hammeedabdo.82
@hammeedabdo.82 4 месяца назад
Even if we use Python libraries that allow us to use Python to build applications on the Excel?@@Excelmacromastery
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You could do it with standard Python.
@hammeedabdo.82
@hammeedabdo.82 4 месяца назад
Do you mean that it is possible to build such a trading simulator using standard Python independently of Excel, or do you mean that it is also possible to build such a simulator on Excel using standard Python?@@Excelmacromastery
@kebincui
@kebincui 4 месяца назад
👍👍
@Akens888
@Akens888 4 месяца назад
4:19 not sure I agree with this for VBA as it doesn't have block level scope like other languages do.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
It has scope from where the variable is dimmed.
@joukenienhuis6888
@joukenienhuis6888 4 месяца назад
@@Excelmacromasterythe only problem is that in a large program, the memory allocation is a problem. If you fee memory up front it can run faster. If I remember correctly there is a term for pre and at the point memory allocation 🧐🤔
@workstuff5253
@workstuff5253 4 месяца назад
Password protecting the workbook VBA code to stop meddling.
@learningfinance6596
@learningfinance6596 4 месяца назад
Very very usefull, because i am a newbie so i have all of those 😂😂😂
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Well then you can only get better:-)
@Husky_Passion
@Husky_Passion 4 месяца назад
the only one i don't agree is using sheet's codenames. I prefer set the sheet to a variable and use the variable. Codenames change too. In my beginnings i messed a lot because of Sheet1 changing like a bird on steroids
@tomharrington1453
@tomharrington1453 4 месяца назад
I have found that using the sheet name only works if the VBA code is imbedded in the same workbook as the sheet. In other words, if you have a macro file that will be working on data in a separate data file you can’t refer to sheet names in the data file. If I am missing something or doing it wrong please enlighten me.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
You mean "code name" only works in current workbook? You can use this code to get a sheet by code name in a different workbook excelmacromastery.com/excel-vba-worksheet/#Code_Name_in_other_Workbooks
@Excelmacromastery
@Excelmacromastery 4 месяца назад
What do you mean by "set the sheet to a variable"?
@ricos1497
@ricos1497 4 месяца назад
​@@ExcelmacromasteryI think they mean: dim sht as worksheet Set sht = Worksheets("sheet1") It doesn't get round the problem of sheet names changing, thus your way is better in my opinion. If you have changed the sheet name in VBA, then assigning to a variable adds nothing.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
@ricos1497 Exactly.
@TP-om8of
@TP-om8of 4 месяца назад
What was the 26th?
@tomharrington1453
@tomharrington1453 4 месяца назад
26 for complex procedures, always use a Main procedure that calls a series of sub procedures or functions.
@TP-om8of
@TP-om8of 4 месяца назад
@@tomharrington1453 27: Dump MS Windows, use Linux; dump Excel, use Python or R
@ragnarok7976
@ragnarok7976 4 месяца назад
MFW I realize that "Microsoft" should have called it "Macrohard" intead of "VBA": 😮
@MC_Kun
@MC_Kun 4 месяца назад
Careful for bad habit: Using WITH statement In other languages, like Javascript for example, it is highly discourage using With, because it makes the code harder to read, very hard to maintain, and it actually doesn't improve performance. The only benefit is making the code slightly faster to write the first time. After that its a hell to maintain. Please don't encourage this practice.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
In VBA it makes the code easier to read and it does improve performance. The only downside is, using the objects in the watch window when debugging.
@yousajtube
@yousajtube 4 месяца назад
'with' in javascript is superficially like 'With' in VBA but with scary consequences. 'With' in VBA is good practice with no scary consequences, but I try not to nest them because it can be difficult to read in a single screenful of code.
@bill7918
@bill7918 4 месяца назад
😎 Promo'SM
@Dexter101x
@Dexter101x 4 месяца назад
I'm guilty of a few things here
@monochromaticspider
@monochromaticspider 4 месяца назад
First thought, "noob" has negative connotations. Newbie does not. Probably shouldn't call people noobs just because they're not that good at programming just yet. Small thing, but you know, it's always nice to be nice. Having said that, did you notice how a bunch of your early habits have solutions that then get flagged by your later habits? Storing your data in a variable "data" of type variant is not very specific. It would not be unreasonable to declare it "dim data() as variant" to fully specify that "data" is variable containing a variant type array. Also, declaring variables as you go... I'm not sure that I'm a fan, though of course that's probably down to me having to work with horrendously ugly code that almost exclusively uses the blob design pattern. If you have 1500 lines of code and all the declarations are happening across the entirety of that space then it becomes a real struggle to remember what things are. Having all the declarations in one place, with descriptions as necessary, makes that a little less aggravating. Come to think of it, the blob design pattern probably should have been part of this list. True story, there's actually an upper limit to how much code you can stuff into a single sub, and if you ever get there, you might finally get your boss to sign off on taking the time to restructure a bit. Additionally, while I'm aware that it is considered outdated garbage in modern IDEs, I actually really like Hungerian notation. I like knowing whether I made something an int or a long or a double or a currency or something else just by glancing at the variable name, particularly when I revisit something I made five years ago in a time crunch. I suppose that could be another habit born out of working with legacy code, but it is nice all the same. Last thing, maybe disabling workbook calculation should have been part of this list too? Some people out there really, really like their ridiculously long formula chains that take forever to calculate. Bad things happen when one of the formulas is volatile and everything recalculates for every cell change you make. For similar reasons, if you know that events are not needed then do kill them too. Just remember to set them to their previous state when done. Not doing this is probably only newbie habit 26, though.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
Thanks for the feedback.
@stevojohn
@stevojohn 4 месяца назад
VBA needs to be ditched TBH.
@mathijs9365
@mathijs9365 4 месяца назад
Why? Office Script is not even the same level as VBA. U cant compare VBA with Python. MS stopped developing since 2010.
@Excelmacromastery
@Excelmacromastery 4 месяца назад
@mathijs9365 is right. It's fine to say stop using VBA but there isn't a replacement at this time.
Далее
How to Use Class Interfaces in Excel VBA
20:16
Просмотров 78 тыс.
Can This Code Be Saved?  | VBA Code Audit
10:58
Просмотров 10 тыс.
small vs big hoop #tiktok
00:12
Просмотров 3,7 млн
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Python Classes Tutorial #5 | Advanced Concepts
10:08
How to use Class Modules with the VBA Dictionary
14:30
How VBA Objects Really Work in Memory
17:46
Просмотров 52 тыс.
Class Modules in VBA: Made Super Simple
17:43
Просмотров 29 тыс.