How To Auto-Run Macro When Excel File Is Opened

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น •

  • @EssentialExcel
    @EssentialExcel  4 ปีที่แล้ว +3

    I hope you enjoyed this tutorial 😃 If you did please give it a LIKE... and don’t forget to SUBSCRIBE for even more content!
    For More 👉 essentialexceluk.com/blogs/tutorials

  • @samkab677
    @samkab677 ปีที่แล้ว +1

    If option macros are disabled what the use of making macros then?

  • @setsunarehaf
    @setsunarehaf 2 ปีที่แล้ว +1

    can i run a a code containing the last modified date of the sheet once the sheet is open? if yes how?

  • @imyong7983
    @imyong7983 3 ปีที่แล้ว +3

    I try it but keep on getting the error "Sub or Function not defined"

  • @ZegnaAlfieri
    @ZegnaAlfieri 9 หลายเดือนก่อน

    are you recording this with a calculator? i can't se anything

  • @Danny-Do-It
    @Danny-Do-It ปีที่แล้ว

    How do you run more than one macro automatically when document is opened? I have a number of tasks I want to run whenever its opened

    • @lawrenceketterhagen9340
      @lawrenceketterhagen9340 ปีที่แล้ว

      You can use the "call" function in your macro that runs on open to run any other Macro's in the workbook. Example: This runs on open and runs "reset_data" and "graph_update" macros.
      Private Sub workbook_open()
      Call reset_data
      Call graph_update
      End Sub
      The nice thing about this method is that you can have those macros run on open and still have them run by form or active X controls or shape buttons by the user.

    • @mr.write1433
      @mr.write1433 ปีที่แล้ว

      I have if command. Its not automatically running. I want it to run automatically

  • @kaseox5436
    @kaseox5436 ปีที่แล้ว

    It doesn't work for me xd

  • @DevPoint.
    @DevPoint. 2 ปีที่แล้ว

    This method can be used for injecting malicious software 😄