OFF2000: Using SelfCert to Create a Digital Certificate for VBA Projects

ID: Q217221


The information in this article applies to:
  • Microsoft Office 2000
  • Microsoft Access 2000
  • Microsoft Excel 2000
  • Microsoft Outlook 2000
  • Microsoft PowerPoint 2000 For Windows
  • Microsoft Word 2000


SUMMARY

Microsoft Office 2000 comes with a program that you can use to create digital certificates for signing Microsoft Visual Basic for Applications (VBA) projects. The program is called SelfCert.exe. You can use it to create "test certificates" that you can use to sign VBA projects.


MORE INFORMATION

NOTE: Digital signatures created with the SelfCert program are for personal use only. They are not meant for commercial distribution of VBA solutions. The type of certificate that is generated does not verify your identity.

You should only use a self-signed certificate for personal use. If you need an authenticated certificate, you will want to contact a certification authority, such as those listed at the following Microsoft World Wide Web site:

http://officeupdate.microsoft.com/office/redirect/fromOffice9/cert.htm
The program discussed in this article is provided "as is" and Microsoft does not guarantee that it can be used in all situations. Although Microsoft support engineers can help with the installation and existing functionality of this program, they will not modify the program to provide new functionality.

Creating a Test Certificate

To create a test certificate for use with your VBA projects in Microsoft Office 2000, follow these steps:
  1. On the Windows Start menu, point to Programs, and then click Windows Explorer.


  2. In Windows Explorer, navigate to the Program Files\Microsoft Office\Office folder, where Program Files is the drive and folder where you installed Microsoft Office 2000.


  3. Find the SelfCert.exe program, and double-click it.

    NOTE: The SelfCert.exe program is not part of the standard installation of Microsoft Office. If you need to install the SelfCert.exe program, rerun Setup for Office CD1 and click Add or Remove Features. Click the plus sign (+) next to Office Tools; click Digitial Signature for VBA Projects and then click Run from My Computer. Click Update Now.


  4. After SelfCert starts, type your name in the Your name box, and click OK.


This will generate a digital certificate for the name you supplied.


REFERENCES

For more information about digital certificates and signatures, click Microsoft Product Help on the Help menu, type How do I digitally sign my project in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

You can also download a white paper about using digital certificates and signatures from the following Microsoft World Wide Web site:

http://officeupdate.microsoft.com/2000/downloadDetails/o2ksec.htm

Additional query words: OFF2000 Authenticode ppt2k word2k xl2k access2k

Keywords : kbmacro kbdta
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 9, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.