Automatic-run Excel macros

Automatic-run Excel macros

Since the start of my life with computers back in 1993 (Yes, I am that old) I always was fascinated by the fact of automation.

A tool, or a machine that does things on its own, even decide what to do and when to do it.

First it was when using peek and poke in NEC PC-6001, then "Autoexec.bat" when I first jumped to DOS, then "Autorun.inf", and so on

So, when I got introduced to Microsoft Excel back in 1997 (Again, I know, I am old, back to the subject here) my passion did not changed, just got evolved or delayed since my first years were for learning only.

So in 2011, when I reached the point of saying that I have a good grip on Excel and VBA, I went ahead and applied this type of automation into Excel-macro-type

And here is the tool that I am using on daily basis, it is a small Excel-macro xlsm workbook that will run any macro in any Excel file, then close when done

At first I used it in some of my Server-based-tools when I was working in EA back in 2011 and 2012, then when a chance arises, I tried to make excuses to use it and add it to my list of tools

What the tool does is that once it is open, it runs certain macro from certain Excel file setup by user. Then when that macro is done, it closes that file after save, closes the autorun macro without saving, then exit

The only challenge was how to call that Excel file, double-click is always an option, but it wouldn't be complete automation if user has to double-click, right?

The I tried "scheduled tasks" in Windows I got the limitation of user privileges and password-related especially when my plans were to run it on a 24/7 machine, any machine.

So, I finally found that small application, it is called System scheduler, no user limitations and no stuff to hold back.

Now with that small app, you got to decide when it should run, and some other details, enough to make life easier

Anyways, here is the small "Autorun" Excel-macro if you think it will help you.

要查看或添加评论,请登录

ANmar Amdeen的更多文章

  • Shapes and Macros assigned

    Shapes and Macros assigned

    Here is a code that I needed a lot recently. Loops through all sheets, then through all shapes in each sheet and list…

  • Frequent quick copy or Move

    Frequent quick copy or Move

    To copy quick to a certain location without jumping to copy and paste I usually get files in certain location, and most…

  • Easiest way to unprotect Workbook or Worksheet without password

    Easiest way to unprotect Workbook or Worksheet without password

    Looks like there is a bug in new Excel dealing with old Excel files Tried that several times and it worked every time…

    4 条评论
  • Numbers to Arabic (online free service)

    Numbers to Arabic (online free service)

    This is the online version of SpellNumber that is directed to Arabic speakers As some of you might already know, I did…

  • Want My #LinkedIn #password? Here it is!

    Want My #LinkedIn #password? Here it is!

    f(x) = Secure Strong Password Having same exact password for multiple sites or logins is really something you should…

  • CTRL+C,K

    CTRL+C,K

    Comment and un-comment lines quickly in VBE Visual studio has CTRL+K, C and CTRL+k, U (keeping CTRL down, and pressing…

    5 条评论
  • Methods to speed up VBA long loops in Excel

    Methods to speed up VBA long loops in Excel

    Edit 2015-03-02: Thank you all for all these comments and appreciate the suggestions, not that I do not appreciate…

    23 条评论

社区洞察

其他会员也浏览了