Тёмный

Timer in Excel VBA 

PK: An Excel Expert
Подписаться 276 тыс.
Просмотров 100 тыс.
50% 1

Hello Friends,
In this video you will learn how to create a timer in Excel by using VBA.
Please download this excel file from below given link:
drive.google.c...
Watch the best info-graphics and dynamic charts from below link:
• Dynamic Graphs
Learn and free download best excel Dashboard template:
• Excel Dashboards
Learn Step by Step VBA:
• VBA Tutorial
Facebook:
/ pkan-excel-expert-9748...
Telegram:
t.me/joinchat/...
Twitter:
/ priyendra_kumar
Send me your queries on telegram:
@PKanExcelExpert

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

 

24 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 98   
@SELIGAMANU
@SELIGAMANU 4 года назад
Não entendi nada do que você falou, mas a explicação foi fantástica! Hahaha obrigado Microsoft por manter a linguagem do VBA padronizada, procurei tanto um video assim aqui no brasil e não achei, você supriu minhas necessidades, muito obrigado!
@Alibabachalise
@Alibabachalise 4 года назад
Dear Sir, thank you for lesson which I wanted to learn, which I achieved the goal.
@PKAnExcelExpert
@PKAnExcelExpert 4 года назад
Thanks for your valuable feedback
@lorendayanarodriguez6007
@lorendayanarodriguez6007 2 года назад
Gracias, muy fácil y practico. Pase horas buscando como hacer el cronometro, muchas gracias.
@jaumefp
@jaumefp 6 лет назад
I thought that the vba code was more complicated!! Very nice and useful
@johnyoung8305
@johnyoung8305 5 лет назад
Hello PK. Thank you fro posting this. It works really well, but the timer continues to run in the background when you push stop. Is there a way to stop the timer from advancing as more of a pause function?
@huyentrang5724
@huyentrang5724 3 года назад
Thnk you PK! It is very interesting.
@PKAnExcelExpert
@PKAnExcelExpert 3 года назад
Thanks
@danielcousins8872
@danielcousins8872 3 года назад
P.K you`re better than chewing gum
@krmotionexcel
@krmotionexcel 4 года назад
me shoch raha tha ki ....maths table ko easily yaad rakh ne ke liye....... muje ye trick jan ni he...... or children ko .......bohat easliy math tables ko dekh sake or shikh sake....... ab aap he sab........ please help this trick ..... india ko aap ki is trick ka intjar rahega ...... or muje bhi.... ☝️☝️☝️☝️☝️☝️☝️☝️☝️☝️☝️☝️☝️
@rachidlouriachi2456
@rachidlouriachi2456 3 года назад
Very helpfull. Thank so much. Happy new year and good luck in every think you do.
@Benson291
@Benson291 6 лет назад
Excellent video. Thank you very much to explaining how the component works and the advantages of doevents.
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks for your valuable feedback
@cristianerodrigues8093
@cristianerodrigues8093 6 лет назад
Very good hello, this exercise was very useful for me.
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks for your valuable feedback
@daveschutz3294
@daveschutz3294 6 лет назад
Dear PK, another good job. I know that since it is using NOW as the baseline from the start, it will need more logic, but the Stop button is not really a stop... "it is a stop showing the counter change" button. What is the logic to have Stop actually Stop and or Pause the timer? thanks, Dave
@TheDavineves
@TheDavineves 6 лет назад
Nice, It was really good. Thanks for Sharing
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks for your valuable feedback
@chanchaldas6229
@chanchaldas6229 4 года назад
Awesome you are a expert too good
@PKAnExcelExpert
@PKAnExcelExpert 4 года назад
Thanks for your valuable feedback
@sudhakargunasekaran9877
@sudhakargunasekaran9877 4 года назад
Working perfectly thanks
@PKAnExcelExpert
@PKAnExcelExpert 4 года назад
Thanks for your valuable feedback
@stevebell9050
@stevebell9050 6 лет назад
Your timer is still running in the background when pushing stop.
@Premiercoaching
@Premiercoaching 6 лет назад
Did you get a solution to this?
@MikeDerUnwissende2
@MikeDerUnwissende2 3 года назад
​@@Premiercoaching I know that your comment or your question is two years old. I am a hobby VB Excel programmer and I just came across the video. The process should be changed a bit: 1. In cell P5 a new value (optional): "Total time:" 2. Cell Q5 receives the number zero (the total time value). 3. Cell D7 no longer has to refer to the difference time but to the total time cell: =if( q5=0; Q4; Q4+Q5) (this formula will check, if the overall time sum is 0; if true use the current difference time at first run, otherwise use difference time and add overall time) I don't tried this directly in Excel, so please be patient if any error occurs :) 4. The start macro must first be updated with the start time and now information like in the video shown. 5. The stop macro must also be adjusted. When you press stop, the GoTo loop must be ended (which it currently does). Then the current difference time (Q4) must be added to the total time (Q5). To do this, it makes sense to use a variable in the macro. After that, cell Q2 can be zeroed in this context (if you don't want to do this in the start macro), like: cells(5,17).value = cells(5,17).value + cells(4,17).value 6. In the reset macro the cells Q2 to Q5 are given the number zero, since we have to represent a time format, maybe like this one (first you have to dim the MySubTimer Variable as an integer): For MySubTimer = 2 To 5 Cells(MySubTimer, 17).Value = 0 Next MySubTimer Also all modules should take use of "option explicit", when you're using variables in your macro. Maybe this helps someone.
@josetaranto172
@josetaranto172 4 года назад
hello! you need to explain step by step, because many people, don´t know so much excell,if you explain so fast, I get lost!!!!!!!! goodness!
@ranjitgupta943
@ranjitgupta943 Год назад
Here if i close the excel this will run in the background or not ?
@richcanelon4041
@richcanelon4041 2 года назад
PK, Thank you so much for posting this. You are awesome! One question: How can you have the timer run in multiple different sheets or can the modules for entire workbook when you add a new sheet?
@PKAnExcelExpert
@PKAnExcelExpert 2 года назад
Good question! I will try to create a video on this topic.
@deepakmutalik3788
@deepakmutalik3788 2 года назад
Hi Sir, Really this very helpful to me but I had one query, if typed some character or number different cell also should not stop the time . Please give me answe to above my question
@noeldelosangeles718
@noeldelosangeles718 Год назад
what if i want to start with specific time in decreasing order? that is waht im looking for
@PKAnExcelExpert
@PKAnExcelExpert Год назад
will try to create a saperate video on this topic
@juanjacobs6327
@juanjacobs6327 2 года назад
Thank you it was very incisive. Is it possible to add a function that includes days month and years along with hours minutes and days and also can i insert my own start date and time I want to create a timer that shows the amount of time that has passed since we last reset the clock for example.
@mds6750
@mds6750 4 года назад
Once u click on stop button background timer still running when u click on start, disappointed,..
@ashokkandukury2870
@ashokkandukury2870 2 года назад
Appreciated sir, Can we do it without VBA codes
@finowelltunedrainmarfori2084
@finowelltunedrainmarfori2084 5 лет назад
Can you do a multiple timer in one sheet ? that display multiple running timer
@stephenrose1902
@stephenrose1902 5 лет назад
Thank you so much, can I repeat the code to make muliple timers in one sheet so I can keep track of my activities?
@homelearning547
@homelearning547 2 года назад
Thanks for the video. is it possible to display the timer in a Textbox of a userform?
@PKAnExcelExpert
@PKAnExcelExpert 2 года назад
Great suggestion! I will try to create a video on this topic.
@adriantroydeleon3010
@adriantroydeleon3010 2 года назад
Thank you! :)
@PKAnExcelExpert
@PKAnExcelExpert 2 года назад
Welcome
@peraruor
@peraruor 6 лет назад
The timer keeps running in the background
@davemurphy798
@davemurphy798 5 лет назад
Thanks PK but as pointed out elsewhere, the timer seems to continue in the background when you press the stop button. Is there any way to make it actually stop? Nice video btw.
@arloblaze9844
@arloblaze9844 3 года назад
I dont mean to be so off topic but does anyone know a trick to get back into an instagram account..? I stupidly lost my password. I would love any assistance you can offer me.
@tyreign8743
@tyreign8743 3 года назад
@Arlo Blaze Instablaster ;)
@arloblaze9844
@arloblaze9844 3 года назад
@Ty Reign thanks so much for your reply. I found the site thru google and Im trying it out now. I see it takes quite some time so I will get back to you later with my results.
@arloblaze9844
@arloblaze9844 3 года назад
@Ty Reign it worked and I finally got access to my account again. I'm so happy! Thank you so much, you saved my account !
@tyreign8743
@tyreign8743 3 года назад
@Arlo Blaze you are welcome :D
@kihwankim1511
@kihwankim1511 5 лет назад
Thank you
@PKAnExcelExpert
@PKAnExcelExpert 5 лет назад
Thanks for your valuable feedback
@senthil4707
@senthil4707 6 лет назад
Hi, Nice Video. I have a query. Say if I had to import the live stock price of Infosys to cell B2 of excel and upon each refresh, the new value should be updated in the next cell say B3, B4, B5 .....and so on, instead of erasing and updating the new value in cell B2 itself. so upon each refresh it should leave the previous trail of prices as it is and should be updated in the next cell. I did it 10 yrs ago with Reset, count and Iterate options but do not remember it now. May I request if you would be able to guide me on this? Thanks in advance. Regards, Senthil
@joses.pacheco3069
@joses.pacheco3069 6 лет назад
Excelente vídeo aula. Show!
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Obrigado por assistir o vídeo e compartilhar seus valiosos comentários. Compartilhe os vídeos com seus amigos e colegas.
@jafarsadhiq1324
@jafarsadhiq1324 2 года назад
Can You create Multiple timers for list of activities in Excel?
@shaukatsamad2510
@shaukatsamad2510 6 лет назад
Welldon Sir, but unfortunately my marco sheet is not working properly ... so I can't do it counter.......... is there any way that I can make counter without marco.... I'm waiting for yr reply
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks for your valuable feedback. Yes we can create timer without macro but We can not show the live change without macro or need to press F9 to see the counter
@chrismiller6921
@chrismiller6921 3 года назад
can u do a tutorial where there is a start time, end time, time left, and when the time finished based on the start time and end time there will be a note of expired, but the time will still keep running to have it as overdue time? any code where I can use specifically?
@adriandelosreyes5657
@adriandelosreyes5657 Год назад
How to fix miss match type, when i open anothe workbook?
@ggl5337
@ggl5337 Год назад
when i click start.. it will start with the current time... not starting with 0
@amulyadav0112
@amulyadav0112 4 года назад
But the timmer is still running in the background after clicking the stop button.
@keithpalmer2096
@keithpalmer2096 4 года назад
How do you stop the clock running in the background?
@kamranmirzezade4763
@kamranmirzezade4763 5 лет назад
hi. Thanks. How to do macros when opened worksheet timer started and when timer end worksheet closed automatly
@lexumi5161
@lexumi5161 5 лет назад
Hey sir, i have a Question i have to make an exel timer vor a School project which Counts down from 0:05:00 how can i do that i would love to do it with a VBA program but i dont know how. can you help me pls?
@ModernPindawale
@ModernPindawale 6 лет назад
For which purpose we use that
@cirilopanaresjr996
@cirilopanaresjr996 6 лет назад
I'm using multipage with same format userform, I create timer button in textbox I have already a timer But my problem is when I start timer button the timer start in pages 1 but when I'd tried to open other page and another timer start button,automatically the timer in page 1 stop, please help me continue the timer even i select another timer button
@ghadeermath2066
@ghadeermath2066 6 лет назад
thanks can i make same timer in powerpoint
@JaysGaming2016
@JaysGaming2016 6 лет назад
When I click start timer, lots of hashtag keys pop up?? Please help ######
@vlogwdnikhi
@vlogwdnikhi 4 года назад
Once after saving the file, on our next working time, it shows the warning of macro As no file exist,,, that means we need to code again ...how to avoid it and save for next use please teach us
@khanbhai4349
@khanbhai4349 5 лет назад
Useful...
@PKAnExcelExpert
@PKAnExcelExpert 5 лет назад
Thanks
@UrzDADDY
@UrzDADDY 6 лет назад
How can you get the timer to work in Google Sheets?
@amulyadav0112
@amulyadav0112 4 года назад
This file is not working after share to another desktop.
@shaukatsamad2510
@shaukatsamad2510 6 лет назад
when u do any work on excel sheet it is very hard to watch ...... pls always magnify it, it would clear to see..... thnx
@lostinmelody1714
@lostinmelody1714 6 лет назад
Can you please help me to make it into an offline Android app
@shadow_gaming_sk
@shadow_gaming_sk 6 лет назад
excellent
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks
@edgardelacruz1514
@edgardelacruz1514 5 лет назад
it works great but the only thing is the timer running in the background when pushing stop, i see no reply with a solution to that.
@khanbhai4349
@khanbhai4349 5 лет назад
Your macro may be removed from that button Reassign stop macro in stop button...
@1shortv
@1shortv 6 лет назад
Bro it's not work "Excel 2013" help me in this problem.
@shatadalgnguly434
@shatadalgnguly434 6 лет назад
Nice sir
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks
@nicadi2005
@nicadi2005 4 года назад
Why aren't you just naming the "range of interest" for the timer and use that name reference in your VBA code? Wouldn't it be a much cleaner way of implementing this?
@moso0258
@moso0258 5 лет назад
i want to make it with start button only and when it reaches 60 it became 0 again
@samanyugamingandtorialvide9658
@samanyugamingandtorialvide9658 4 года назад
How to do that
@Рам-л7с
@Рам-л7с 3 года назад
Таймер имеет обратный отсчет, здесь - секундомер. Это я придираюсь)
@josetaranto172
@josetaranto172 4 года назад
you need to have pedagogical tools before to teach things, you know???
@eligojesusalvareztimaure6544
@eligojesusalvareztimaure6544 6 лет назад
eres Latino!!!
@elliotbedon4260
@elliotbedon4260 5 лет назад
alt + shift+# wtf is that ???
@josetaranto172
@josetaranto172 4 года назад
sooooooooooooooo bad!
@hod-pj
@hod-pj Год назад
хня какая :) он же продолжает считать :)))
@Igerbam
@Igerbam 6 лет назад
12 ads in 12 minutes Dislike!
@SELIGAMANU
@SELIGAMANU 4 года назад
Não entendi nada do que você falou, mas a explicação foi fantástica! Hahaha obrigado Microsoft por manter a linguagem do VBA padronizada, procurei tanto um video assim aqui no brasil e não achei, você supriu minhas necessidades, muito obrigado!
@geracaoyinvestimento
@geracaoyinvestimento 6 лет назад
Thank you
@PKAnExcelExpert
@PKAnExcelExpert 6 лет назад
Thanks for watching
Далее
Show Scroll Bars in VBA User Form
6:45
Просмотров 40 тыс.
How to Create Timer in Excel VBA - Excel VBA Tutorial
15:48
КАК ВАМ ТАКОЙ ТЮНИНГ НИВЫ?
00:42
Просмотров 264 тыс.
Excel Simple Digital Clock Timer VBA Macro
14:29
Просмотров 22 тыс.
Dynamic Spin Wheel in Excel
36:47
Просмотров 47 тыс.
Temporizador con cuenta regresiva en  Excel
9:13
Просмотров 8 тыс.
Auto fit a VBA User form in window screen
10:27
Просмотров 147 тыс.
Excel VBA - Create Countdown Timer on UserForm
19:21
Просмотров 14 тыс.
Compteur de temps en VBA Excel, chronomètre
18:46
Просмотров 4,7 тыс.
Excel VBA Tips n Tricks #18 Stopwatch in Excel
8:48
Просмотров 97 тыс.