The 7 Keys Areas of Excel VBA (with code examples)

The 7 Keys Areas of Excel VBA (with code examples)

Excel Macro Mastery

4 года назад

65,232 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@sasavienne
@sasavienne - 26.09.2019 20:49

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. 👏 🌟 🌟 🌟

Ответить
@clandeszipp4564
@clandeszipp4564 - 31.03.2024 12:59

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.

Ответить
@SAMSITARAGUYANG
@SAMSITARAGUYANG - 11.07.2023 18:11

Why shData not error "variable not defined" sir?

Ответить
@sebastian1200
@sebastian1200 - 07.07.2023 13:36

I would add 2 more areas to that:
Forms (developing apps) and classes/interfaces 😄

Ответить
@alterchannel2501
@alterchannel2501 - 03.02.2023 20:05

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?

Ответить
@rajkumarpalle8217
@rajkumarpalle8217 - 20.12.2022 10:32

Thank you.. It was nice video..

Ответить
@CuriousEngineer955
@CuriousEngineer955 - 04.08.2022 19:29

Thank you so much paul.

Ответить
@jlzpacheco
@jlzpacheco - 27.07.2022 04:55

AWESOME VIDEO! Perfect for finding yourself in this forest of knowledge!

Ответить
@mrsachu88
@mrsachu88 - 10.05.2022 22:47

Hi. I am getting Compile error: Variable not defined when I use sub UseRanges(). How to solve it?

Ответить
@hadibq
@hadibq - 03.04.2022 21:40

Great channel! Thanks!

Ответить
@andywong6025
@andywong6025 - 10.02.2022 12:29

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.

Ответить
@henrikijonkoping4694
@henrikijonkoping4694 - 03.01.2022 00:54

Great, dictionary was new for me!

Ответить
@user-tq7yz9xb8g
@user-tq7yz9xb8g - 27.11.2021 22:42

hello there ! General Kenobi !

Ответить
@mxrvxn08
@mxrvxn08 - 24.11.2021 11:50

Easy to follow and understand tutorial. Thank you

Ответить
@akshayc7152
@akshayc7152 - 10.07.2021 11:54

God of excel VBA..🙏

Ответить
@chrstfer2452
@chrstfer2452 - 31.03.2021 01:55

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.

Ответить
@vdpeer
@vdpeer - 22.01.2021 19:49

Ahh. I see that you've changed the name of the sheet to shdata. That answers my question.

Ответить
@vdpeer
@vdpeer - 22.01.2021 19:07

ShData isn't an object, at least in Office 365 version of Excel.

Ответить
@bondniko
@bondniko - 21.01.2021 19:20

Go raibh maith agat. An-úsáideach mar i gcónaí.

Ответить
@johnphillips6851
@johnphillips6851 - 25.10.2020 18:00

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.

Ответить
@henrikijonkoping4694
@henrikijonkoping4694 - 31.07.2020 12:15

But is the efficiency so much bigger working in VBA instead of working direct in the spreadsheet?

Ответить
@Snafuey
@Snafuey - 22.07.2020 02:33

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?

Ответить
@basemsat4601
@basemsat4601 - 31.05.2020 13:53

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

Ответить
@redangrybird7564
@redangrybird7564 - 29.03.2020 23:50

You are a Champ, thanks and God bless you.
✌😀

Ответить
@Morphineck
@Morphineck - 25.03.2020 04:59

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.

Ответить
@subhramanyemdudey2941
@subhramanyemdudey2941 - 03.03.2020 07:42

Amazing Video

Ответить
@stephanweaver1960
@stephanweaver1960 - 26.01.2020 17:05

Well done

Ответить
@LordBransty
@LordBransty - 31.12.2019 02:45

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.

Ответить
@xxrobcollinsxx
@xxrobcollinsxx - 15.12.2019 12:56

Excellent video again, thanks!

Ответить
@rrrprogram4704
@rrrprogram4704 - 09.12.2019 20:21

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

Ответить
@jonnybingham1
@jonnybingham1 - 29.11.2019 15:23

Hi Paul, big fan of your channel. Do you do vba consultancy?

Ответить
@eddai84
@eddai84 - 18.11.2019 21:38

Hi Paul. It's amazing knowledge. Thanks for sharing.

Ответить
@ferkik.3245
@ferkik.3245 - 23.10.2019 22:43

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?

Ответить
@BrianJones_cswp
@BrianJones_cswp - 12.10.2019 14:16

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.

Ответить
@Molnify
@Molnify - 09.10.2019 16:32

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!

Ответить
@rrrprogram8667
@rrrprogram8667 - 06.10.2019 21:50

You are the KING of VBA

Ответить
@rrrprogram8667
@rrrprogram8667 - 06.10.2019 21:32

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

Ответить
@rrrprogram8667
@rrrprogram8667 - 06.10.2019 21:29

Can we use AND in case statement??... How do i write?? For example the below code doesn't work
case > 1500 and < 2000..

Ответить
@rrrprogram8667
@rrrprogram8667 - 06.10.2019 21:09

Nice video to refresh and revise ur understanding... Thanks paul

Ответить
@rrrprogram8667
@rrrprogram8667 - 06.10.2019 21:00

Hit like and watch the video

Ответить
@rrrprogram8667
@rrrprogram8667 - 06.10.2019 21:00

Excellenttttt..... Thanks for the video..

Ответить
@joaocustodio2094
@joaocustodio2094 - 30.09.2019 19:29

Well done Paul.
As always, very clear and didactic.

Ответить
@joaocustodio2094
@joaocustodio2094 - 30.09.2019 19:28

Thanks Paul.

Ответить
@grigull
@grigull - 29.09.2019 12:33

Could you teach the use of listviews instead of listboxs?

Ответить
@PrincePedia
@PrincePedia - 29.09.2019 11:51

Great , Thanks

Ответить
@alexandrumarcel3696
@alexandrumarcel3696 - 28.09.2019 19:41

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 ...

Ответить
@tomc.3987
@tomc.3987 - 28.09.2019 05:23

That was great. Saved off the link. I'd not heard of using CurrentRegion before. That'll be very helpful.

Ответить
@SolidSnake59
@SolidSnake59 - 27.09.2019 14:22

This must be some record - 3 days of VBA training squeezed into 28 minutes. Bravo!

Ответить