Every time I feel happy when I get an information that you uploaded a new video because I know that it is going to be very helpful and quite useful. Thanks indeed Paul. 👏 🌟 🌟 🌟
@Excelmacromastery5 жыл бұрын
Thanks Salim.
@rajkumarpalle8217 Жыл бұрын
Thank you.. It was nice video..
@SolidSnake595 жыл бұрын
This must be some record - 3 days of VBA training squeezed into 28 minutes. Bravo!
@Excelmacromastery5 жыл бұрын
😜
@robinhahn69875 жыл бұрын
I've written quite a few apps in Excel VBA (probably using very kludgy code - this was over years before the great resource that is KZbin and excellent videos such as yours, Paul) and am currently in process of revising many of them, only just to simplify the code, clean up the bugs and most probably speed those apps up a bit. Of all the tutorials and videos I've read or seen, yours easily offer the most truly game-changing suggestions! Thank you!
@Excelmacromastery5 жыл бұрын
Thanks Robin
@rrrprogram86675 жыл бұрын
You are the KING of VBA
@Excelmacromastery5 жыл бұрын
Thanks
@mxrvxn083 жыл бұрын
Easy to follow and understand tutorial. Thank you
@LordBransty4 жыл бұрын
You're a very gifted educator Paul. I've been programming for years in VBA, and you keep showing me all kinds of things I had no idea about. Excellent content taught in a very friendly manner.
@Excelmacromastery4 жыл бұрын
Thanks Lord. Glad you like the material.
@Excelmacromastery5 жыл бұрын
Hi everyone. Please enjoy the videos and add any comments you may have below😀😀
@jlzpacheco2 жыл бұрын
AWESOME VIDEO! Perfect for finding yourself in this forest of knowledge!
@Excelmacromastery2 жыл бұрын
Glad you like it.
@akshayc71523 жыл бұрын
God of excel VBA..🙏
@clandeszipp45647 ай бұрын
Thank you. Sometimes I wonder what is the gain in VBA speed all over the world (and economical gain for that matter) thanks to these lessons.
@Whatarewefixingtoday5 жыл бұрын
My Employer thanks you for making me more efficient!
@redangrybird75644 жыл бұрын
You are a Champ, thanks and God bless you. ✌😀
@MrVicmanr905 жыл бұрын
Awesome! I'm learning a lot. Thank you for sharing your knowledge.
@Excelmacromastery5 жыл бұрын
You're welcome Victor
@henrikijonkoping46942 жыл бұрын
Great, dictionary was new for me!
@hadibq2 жыл бұрын
Great channel! Thanks!
@CuriousEngineer9552 жыл бұрын
Thank you so much paul.
@alterchannel2501 Жыл бұрын
Thank you for the basics. I'm a bit confused, in the example you are Debug.printing the Dictionary results, but how do I transfer the results to Excel?
@ferkik.32455 жыл бұрын
Thank you for your video. I'm using vba for a while but learnt a lot from your video to simplyfy my code. Currentregion is a very usefull code i didnt know that realy like it. Nowdays im working with data where there are blank rows what i cant delete. Do you have any tool how to handle this type of database?
@joaocustodio20945 жыл бұрын
Thanks Paul.
@rrrprogram86675 жыл бұрын
Nice video to refresh and revise ur understanding... Thanks paul
@Excelmacromastery5 жыл бұрын
You're welcome.
@BrianJones_cswp5 жыл бұрын
Thanks for making these videos, they've been extremely helpful to me! Clear, concise explanations in terms I can grasp, and the pace is spot on👍,subscribed.
@Excelmacromastery5 жыл бұрын
Thanks Brian.
@rrrprogram86675 жыл бұрын
Can u please give ur suggestions on how to use intellisense... Some times it doesn't work and make feel worry sometimes.. Example.. Activesheet.paste will not be shown with intellisense... I know that it has to do something with object library... Can u please make video how to use object library
@eddai845 жыл бұрын
Hi Paul. It's amazing knowledge. Thanks for sharing.
@joaocustodio20945 жыл бұрын
Well done Paul. As always, very clear and didactic.
@Excelmacromastery5 жыл бұрын
Thanks Joao
@grahamparker77295 жыл бұрын
Really enjoyed this, gave a great overview 👌🏻
@Excelmacromastery5 жыл бұрын
Thanks Graham
@xxrobcollinsxx4 жыл бұрын
Excellent video again, thanks!
@Excelmacromastery4 жыл бұрын
You're welcome Rob
@sebastiansalazar35535 жыл бұрын
Very smart and simple. Now, for me is easy to filter thousands of data. Thank you very much indeed.
@Excelmacromastery5 жыл бұрын
Glad to help
@Funintherain135 жыл бұрын
Hi Paul, big fan of your channel. Do you do vba consultancy?
@Excelmacromastery5 жыл бұрын
Hi Jonny, I do consultancy but I am not currently available due to the number of ongoing projects.
@vivekphadke165 жыл бұрын
Very useful for VBA novice like me, Thanks
@Excelmacromastery5 жыл бұрын
Glad you like it Vivek.
@guss3725 жыл бұрын
Excelente, saludos desde Salta Argentina
@meldeebueno5 жыл бұрын
Havent watched the video yet but thank you. Your videis provide me invaluable lessons in VBA.
@grigull5 жыл бұрын
Could you teach the use of listviews instead of listboxs?
@rrrprogram86675 жыл бұрын
Excellenttttt..... Thanks for the video..
@Excelmacromastery5 жыл бұрын
Glad you like it.
@thearchibaldtuttle5 жыл бұрын
Very nice as always!
@Excelmacromastery5 жыл бұрын
Glad you like it.
@Shady_Lane4 жыл бұрын
hey, great content @4:11 can you send arrays from one sub/function to another in this way?
@subhramanyemdudey29414 жыл бұрын
Amazing Video
@Excelmacromastery4 жыл бұрын
Thank you.
@landor7035 жыл бұрын
Great video - as always. I do have a question in the area of going through a range using an array vs a dictionary. You used a different technique for each. For array, you used " dim arr as variant" , got the array and went through it from LBound to UBound. For dictionary, you used "dim rg as range" and went through it from 1 to rg.rows.count. Why was there a difference? Could I have used one technique in both cases? Or do I have to use one for array and one for dictionary? Thanks again.
@Excelmacromastery5 жыл бұрын
For an array you need to use lbound/unbound. For other objects 1 to Count.
@landor7035 жыл бұрын
It’s that simple? Thanks for the clarification
@paulkarch33185 жыл бұрын
At 10:56 when accessing a different workbook I got a little nervous but I guess the condition locks you out if someone is changing data in the external workbook.
@Excelmacromastery5 жыл бұрын
It's read-only so reading from the last time the file was saved: bit.ly/2m5QLn6
@stephanweaver19604 жыл бұрын
Well done
@Excelmacromastery4 жыл бұрын
Thanks Stephan
@PrincePedia5 жыл бұрын
Great , Thanks
@andywong60252 жыл бұрын
Dear Sir, for the dictionary part, if the value (amount) of the key (Fruit) is zero in sum, will it be shown in the dictionary? i just wanna be using the dictionary for my inventory record, sometimes it may be zero in number.
@vdpeer3 жыл бұрын
Ahh. I see that you've changed the name of the sheet to shdata. That answers my question.
@chrstfer24523 жыл бұрын
Is there a reason you use Long for the row in your dynamic ranges example? Naively I'd think that should be an integer; like, what would happen if you gave it a fractional value? I'm totally new to excel vba, so please forgive me if excel or vba does something I don't know about which makes this the best practice.
@Excelmacromastery3 жыл бұрын
Because the integer range is -32,768 to 32,767 which is low. The Long range is -2,147,483,648 to 2,147,483,647
@alexandrumarcel36965 жыл бұрын
Except the dictionary part I can say I know the other ones, but still I m afraid to apply for a vba developer job because I don t know which are the expectations ...
@sebastian1200 Жыл бұрын
I would add 2 more areas to that: Forms (developing apps) and classes/interfaces 😄
@Snafuey4 жыл бұрын
Question about the dictionary. The for each loop at the end you say currentKey in dict.Keys. The currentKey make sense cause you declared it as a variant. Where did the .Keys plural come from?
@Excelmacromastery4 жыл бұрын
It's part of the dictionary object.
@bassisessaidexcel5 жыл бұрын
Merci
@АнтуанДеляМоль2 жыл бұрын
hello there ! General Kenobi !
@vdpeer3 жыл бұрын
ShData isn't an object, at least in Office 365 version of Excel.
@henrikijonkoping46944 жыл бұрын
But is the efficiency so much bigger working in VBA instead of working direct in the spreadsheet?
@Excelmacromastery4 жыл бұрын
Yes. Exponentially faster if you have a large data set.
@henrikijonkoping46944 жыл бұрын
@@Excelmacromastery Thank you for the answer. This could also be taken up in your videos on youtube. You are great on youtube!
@mrsachu882 жыл бұрын
Hi. I am getting Compile error: Variable not defined when I use sub UseRanges(). How to solve it?
@SAMSITARAGUYANG Жыл бұрын
Why shData not error "variable not defined" sir?
@rrrprogram86675 жыл бұрын
Can we use AND in case statement??... How do i write?? For example the below code doesn't work case > 1500 and < 2000..
@Excelmacromastery5 жыл бұрын
Case 1501 to 1999 or Case Is > 1500, Is < 2000 excelmacromastery.com/vba-select-case/#Case_Statement_Quick_Guide
@rrrprogram86675 жыл бұрын
Hit like and watch the video
@johnphillips68514 жыл бұрын
The example of the Ranges doesn't work and gives me the Run Time Error 424 and I have meticulously verified the code I typed to what is in the video. does anyone know why this would be? I'm currently on Office Home and Student 2016. Thanks in Advance.
@Excelmacromastery4 жыл бұрын
What line is causing the error?
@basemsat46014 жыл бұрын
Please , i have this problem, my code for i = 1 to 100 if worksheets(“sheet1”).cells(i,1).value = i ----this dont work when i change i to 1 it works like this if worksheets(“sheet1”).cells(i,1).value = 1----work i try convert the cell covert the every value no way , thanks
@bondniko3 жыл бұрын
Go raibh maith agat. An-úsáideach mar i gcónaí.
@Excelmacromastery3 жыл бұрын
You're welcome.
@tughanozsezer93325 жыл бұрын
.
@Molnify5 жыл бұрын
Awsome video! If you want to, check out my channel where I show how you can turn Excel files into web apps without coding or extra software!
@Morphineck4 жыл бұрын
I really like your videos and respect your work... however, that has got to be the worst ever example of what a function is and how to use it. Bro, the main reason you use functions is to be able to include them as part of formulas (i.e. a text formula that includes regular expresions) or to consult data from external DB's (a function that gets a Part Number from a DB of vendors). All without the need to include buttons or to map them on your interface, you just type = then start typing however you named your function and voila.
@rrrprogram47044 жыл бұрын
Can u please give ur suggestions on how to use intellisense... Some times it doesn't work and make feel worry sometimes.. Example.. Activesheet.paste will not be shown with intellisense... I know that it has to do something with object library... Can u please make video how to use object library