X-VBA

Download

The official download page can be found on my github page. You can also download XTemplate here. It is recommended you donwload the minified version of each XTemplate Module named XTemplate.min.bas, as the file size will be smaller then downloading XTemplate, and it includes all the same functionality. XTemplate.min.bas removes excess comments and syntax features from the source code that don't actually affect the functioning of the code. However, the unminified version can be downloaded as well, for example if you wanted to modify the source code. There is also an PowerPoint-addin version that can be downloaded as well. However, Word and Outlook do not currently support exporting addins, and the minified code will need to be downloaded.

Minified Versions

Version Name Download Source Code
1.0.0 XTemplateDoc.min.bas (download) (source)
1.0.0 XTemplatePpt.min.bas (download) (source)
1.0.0 XTemplateOut.min.bas (download) (source)

Unminified Versions

Version Name Download Source Code
1.0.0 XTemplateDoc.bas (download) (source)
1.0.0 XTemplatePpt.bas (download) (source)
1.0.0 XTemplateOut.bas (download) (source)

Installation

Note: For each installation below, instead of downloading a file, you can alternatively paste the source code into a module instead of downloading and importing a module

Word

Installation at the Word Level

  1. Download XTemplateDoc.min.bas
  2. Open up Word, and press Alt+F11 to open the VBA editor
  3. In the VBA editor, at the top left press File -> Import File
  4. Click the downloaded XTemplateDoc.min.bas and then click Open to import XTemplate in Word

Installation at the Individual Document Level

  1. Download XTemplateDoc.min.bas
  2. Open up Word, and press Alt+F11 to open the VBA editor
  3. In the VBA editor, to the left is the Project Pane. Click the project named Normal to activate it.
  4. In the VBA editor, at the top left press File -> Import File
  5. Click the downloaded XTemplateDoc.min.bas and then click Open to import XTemplate in Word

PowerPoint

Note: XTemplate does not currently support installing XTemplate at the PowerPoint level, and thus you'll need to install XTemplate for each Presentation seperately. In the future, I plan to create a PowerPoint Add-in to enable installation at the PowerPoint Level

Installation at the Individual Presentation Level

  1. Download XTemplatePpt.min.bas
  2. Open up PowerPoint, and press Alt+F11 to open the VBA editor
  3. In the VBA editor, at the top left press File -> Import File
  4. Click the downloaded XTemplatePpt.min.bas and then click Open to import XTemplate into the PowerPoint Presentation

Outlook

Installation at the Outlook Level

Note: Outlook may prevent Macros, and to use XTemplate for Outlook, you may need to enable them. Please see this Microsoft guide for a tutorial on how to enable Macros in the office programs.

  1. Download XTemplateOut.min.bas
  2. Open up Outlook, and press Alt+F11 to open the VBA editor
  3. In the VBA editor, at the top left press File -> Import File
  4. Click the downloaded XTemplateOut.min.bas and then click Open to import XTemplate in Outlook