Excel Macro Timer - Easy to Use - Excel VBA Quickie 7

  Рет қаралды 9,119

TeachExcel

TeachExcel

Күн бұрын

Пікірлер: 13
@wayneedmondson1065
@wayneedmondson1065 3 жыл бұрын
Just want to share this with you.. this video and your last video (3 tips to faster macros) inspired me to go back through some of my workbooks with macros that run very slowly. To one case in particular, I added a timer with MsgBox (per your example) and timed the macro. It took about 60 seconds to run. I modified the code with some of your tips and got it down to about 30 seconds which was very much better, but still too slow. Then, I dissected my old code and changed the logic entirely and now the macro completes the very same procedure in about 0.5 seconds. So, that is a factor difference of 120 or 12000% between 0.5 seconds and 60 seconds. I can't thank you enough for both the inspiration and the information that helped me make this dramatic improvement. It goes to show that no matter what you think you know, you can always learn something new. Many thanks for all your videos and sharing of knowledge.. much appreciated :)) Thumbs up!!
@IvanCortinas_ES
@IvanCortinas_ES 3 жыл бұрын
Excellent tutorial with the TIMER function. Thank you very much!
@TeachExcel
@TeachExcel 3 жыл бұрын
Thank you Ivan! I'm glad you think so :))
@NeangBona
@NeangBona 3 жыл бұрын
really amazing magic VBA macro timer I like it !
@TeachExcel
@TeachExcel 3 жыл бұрын
Thanks Neang!! I'm really glad you like it :)
@wayneedmondson1065
@wayneedmondson1065 3 жыл бұрын
Thanks for this.. super useful tip! Thumbs up!!
@TeachExcel
@TeachExcel 3 жыл бұрын
Thanks Wayne! :)
@darrylmorgan
@darrylmorgan 3 жыл бұрын
Cool Tutorial,Great Way To Test And Build Fast Efficient Code...Thank You Sir :)
@TeachExcel
@TeachExcel 3 жыл бұрын
Thanks Darryl! Timing is definitely something everyone should add to their testing kit.
@chrisk.9765
@chrisk.9765 3 жыл бұрын
Nice, how to clean Immediate window with VBA code ?
@TeachExcel
@TeachExcel 3 жыл бұрын
You can apparently do it using SendKeys but it is not something that I necessarily recommend. The logging feature of it allows you to nicely compare previous results and it clears itself when you close Excel. You can clear it on your own by hitting Ctrl + A to select All and then the Delete key. Or, you could try something like this with vba, basically just the keyboard shortcuts programmed-in. Application.SendKeys "^g ^a {DEL}" This might not be that reliable though - untested by me.
@chrisk.9765
@chrisk.9765 3 жыл бұрын
@@TeachExcel Thx for response, I've tested it already but it's let's say 'imperfect'.
@CaseyLynn1963
@CaseyLynn1963 3 жыл бұрын
I really like this ... but the view immediate button is grey out and am not able to see results of the time
Hide Macros from the User in Excel - VBA Quickie 8
6:05
TeachExcel
Рет қаралды 18 М.
Excel VBA: The Little-known secrets of ByVal and ByRef
13:00
Excel Macro Mastery
Рет қаралды 47 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 29 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 191 МЛН
How to Create & Use Excel Macros (Real world example)
10:09
Leila Gharani
Рет қаралды 1,7 МЛН
Run Macros at Set Intervals in Excel
13:20
TeachExcel
Рет қаралды 22 М.
Запуск макроса по времени
16:58
Nikolay Pavlov
Рет қаралды 29 М.
Excel VBA - Create Countdown Timer on UserForm
19:21
Ah Sing TV
Рет қаралды 14 М.
How to Schedule a Macro to Run at Certain Times
15:46
Sigma Coding
Рет қаралды 30 М.
How to get the Last Row in VBA(The Right Way!)
15:41
Excel Macro Mastery
Рет қаралды 166 М.
Excel LAMBDA - HOW & WHEN you Should use it
16:02
Leila Gharani
Рет қаралды 452 М.
I never understood why you can't go faster than light - until now!
16:40
FloatHeadPhysics
Рет қаралды 4,6 МЛН
How to Create Macros in Excel Tutorial
9:17
Kevin Stratvert
Рет қаралды 1,6 МЛН
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 29 МЛН