Outlook Not Running Visual Basic After Restart

后端 未结 1 564
[愿得一人]
[愿得一人] 2021-01-20 17:28

So I have created a visual basic script in outlook that creates a random signature by pulling from Git.

The script works correctly but whenever I restart my machine

相关标签:
1条回答
  • 2021-01-20 17:41

    It’s highly recommended to leave your macro security setting to only allow self-sign certificate Macros,

    Do not use the Low option or run all

    Create a self-signing certificate

    1. Go to Start > All Programs > Microsoft Office > Microsoft Office Tools, and then click Digital Certificate for VBA Projects.

    2. In the Your certificate's name box, type in name for the certificate.

    3. Click OK. then SelfCert Success message will appears, click OK.

    1. Go to Developer tab > click Visual Basic. or ALT+F11

    2. In Visual Basic Editor, go to Tools > Digital Signature.

    3. Digital Signature dialog appears and click on Choose and you’ll get a screen to select a certificate. Now you can choose the certificate you just created.


    Edit

    locating SelfCert.exe

    Go to Start menu and typing VBA should bring up the SelfCert.exe.

    Alternative method of locating SelfCert.exe

    if you Can’t find it in the Start Menu? then By default you can find SelfCert.exe in the following location

    Windows 32-bit

    C:\Program Files\Microsoft Office\Office <version number>

    Windows 64-bit with Office 32-bit

    C:\Program Files (x86)\Microsoft Office\Office <version number>

    Windows 64-bit with Office 64-bit

    C:\Program Files\Microsoft Office\Office <version number>

    Office 365 (Subscription based or Click-to-Run version of Office 2013)

    C:\Program Files\Microsoft Office 15\root\office15

    If SelfCert.exe is not installed

    Then run Office setup and choose Add or Remove Features.

    With older versions of Office you’ll need to choose Custom installation and then Advanced customization.

    Expand the Office Shared Features section and select Digital Certificate for VBA Projects to run from your computer.

    Simply run SelfCert.exe after locating it.

    0 讨论(0)
提交回复
热议问题