0 votes
ago in VBA by Beginner (102 points)
Without manual intervention,a macro should

1 Answer

0 votes
ago by Skilled (306 points)

Have a look at this

https://ask.wellsr.com/120/how-to-initiate-a-msgbox-once-i-start-windows

And if you mean to run the macro when the workbook is already open try this code

Sub Run_Test_Using_OnTime()
'RUN TEST MACRO AT 01:30 PM
'--------------------------
    Application.OnTime TimeSerial(13, 35, 0), "Test"
End Sub

Sub Test()
    MsgBox "This Is Test Macro", 64
End Sub

 

Welcome to wellsr Q&A
wellsr Q&A is the VBA and Python programming community that rewards you for learning how to code.

Earn free prizes for asking VBA and Python questions and for answering questions asked by others in our community.

What makes us different?
Our points system rewards you with a chance for free gifts as your contributions grow. The more points you earn, the better the prizes.

Getting Started
Register
Prizes

For more programming tips visit the VBA Tutorials Blog and the Python Tutorials Blog.

Top Users Mar 2019
  1. YasserKhalil

    306 Points

  2. ParserMonster

    204 Points

  3. Alberto Semat

    186 Points

  4. danmcg

    127 Points

  5. Abdan

    124 Points


Prizes for March 2019
Terms and Conditions
1st place (1) 1-year MyExcelOnline Academy Membership
(2) My First Add-in Dev Pack & Course
(3) AutoMacro: VBA Code Generator (Developer)
(4) VBA Cheat Sheet Bundle
(5) $35 Amazon Gift Card
2nd place (1) My First Add-in Dev Pack & Course
(2) 101 Most Popular Excel Formulas E-Book
(3) VBA Cheat Sheet Bundle
(4) $25 Amazon Gift Card
3rd place (1) Mouse to Macro
(2) VBA Cheat Sheet Bundle
(3) $15 Amazon Gift Card
...