ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   activate marco command (https://www.excelbanter.com/excel-programming/327155-activate-marco-command.html)

Dominic Mak

activate marco command
 
Dear friends,

I have written many marco commands for an active worksheet with the learn
marco command using Visal Basic. The current time on my worksheet will be
updated automatically.

How can I write another marco command that could activate each of the marco
commands based on certain true condition. e.g. after the passage of every
minute.

Please help.

macgru

activate marco command
 

Użytkownik "Dominic Mak" <Dominic napisał w
wiadomości ...
Dear friends,

I have written many marco commands for an active worksheet with the learn
marco command using Visal Basic. The current time on my worksheet will be
updated automatically.

How can I write another marco command that could activate each of the

marco
commands based on certain true condition. e.g. after the passage of every
minute.

Please help.



if you want to run macro in a given period of time try to use
application.ontime + name of your macro

mcg



Dave Peterson[_5_]

activate marco command
 
If you want to read more about Excel's VBA OnTime method, visit Chip Pearson's
site:
http://www.cpearson.com/excel/ontime.htm

Dominic Mak wrote:

Dear friends,

I have written many marco commands for an active worksheet with the learn
marco command using Visal Basic. The current time on my worksheet will be
updated automatically.

How can I write another marco command that could activate each of the marco
commands based on certain true condition. e.g. after the passage of every
minute.

Please help.


--

Dave Peterson


All times are GMT +1. The time now is 05:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com