Exporting Code

VbaDiff can export your source code to text files, where they can be easily viewed, imported into another document or placed into source control. VbaDiff can export a single module or the entire project.

To export your code, first load your document into VbaDiff as described earlier. Then:

  • To export code from a single module to a text file, right-click on the module you want to export and select Export from the context menu. You will then be prompted to choose a filename to export to.
  • To export all of the code in the project, right-click on the project you want to export and select Export from the context menu. You will then be prompted to choose the directory you want to export to.
Exporting All Code from a Document using the Export Command.
Exporting all code from a Document by right-clicking on the Project.

Note that you can only export a limited amount of code when working in Trial Mode.