Automation of running excel macros
Solved/Closed
aml
-
5 Mar 2010 à 03:05
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 8 Apr 2010 à 16:55
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 8 Apr 2010 à 16:55
Related:
- Automation of running excel macros
- Excel online macros - Guide
- Excel mod apk for pc - Download - Spreadsheets
- Unlock excel vba and excel macros - Guide
- Vat calculation excel - Guide
- Laptop running hot - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
5 Mar 2010 à 03:37
5 Mar 2010 à 03:37
Ok two things.
1. excel cannot by its own fire up and start execution of code. For that you need some thing else that is running to start excel. What you have read is suggesting to use ""Scheduled Tasks" to do that.
2. Once the excel open up, macro can be embedded in excel to immediately fire up. This is triggered by an event called "open". Basically it is sub routine named "Auto_Open"
Sub Auto_Open()
... <code goes here>
End sub
Hope it clarifies things for you
1. excel cannot by its own fire up and start execution of code. For that you need some thing else that is running to start excel. What you have read is suggesting to use ""Scheduled Tasks" to do that.
2. Once the excel open up, macro can be embedded in excel to immediately fire up. This is triggered by an event called "open". Basically it is sub routine named "Auto_Open"
Sub Auto_Open()
... <code goes here>
End sub
Hope it clarifies things for you
8 Apr 2010 à 16:22
8 Apr 2010 à 16:55
Application.OnTime TimeValue("07:00:00"), "my_Procedure"
Which basically says at 7 execute this procedure.