DoneEx

  • Home
  • News
  • XCell Compiler
    • Features
    • Compile Excel Workbook to EXE
    • Protect Excel Formulas
    • Protect Excel VBA code
    • How to Create a Trial/Demo Protected Workbook
    • Protect and license workbook with registration key
    • Bulk Registration Key Generator
    • Protect workbook with Dongle
    • How to export/import changed data
    • How to hide Excel GUI on start
    • How to select target Excel bitness
  • VBA Compiler
  • Installer Maker
    • Installer Maker Options Overview
    • Create Installer for Excel Workbook or Excel Add-in
  • Frequent Q&A
    • Technical
    • Install / UnInstall
    • Updates
    • Trial Version of XCell Compiler
    • Buying XCell Compiler
    • Customer Service
    • Misc FAQ
  • Download
  • Buy
  • Testimonials
  • Contact Us

Convert Excel Workbook to an EXE File

Before you convert your Excel workbook into EXE file you need to verify that environment of your computer meets the requirements of the DoneEx XCell Compiler.

To convert a spreadsheet to an EXE you need to have the Microsoft Windows 7 or higher and Microsoft Office 2007 SP3 or higher with the latest service pack and updates installed on your computer. Our product supports all 32-bit and 64-bit versions of Excel from 2007 and higher, including Excel from Office 365. Please make sure that you have selected the Microsoft Office Visual Basic for Application (VBA) component in your MS Office installation.

We assume that you have already downloaded and installed the DoneEx XCell Compiler on your computer.

Excel compiler works with the copy of the workbook. This ensures that the process will not alter your original workbook.

Before workbook compilation, you need to adjust your Excel  settings to allow XCell Compiler to secure your workbook.

You need to enable “Trust access to the VBA project object model” MS Excel option via the following path:
Excel Options >> Trust center >> click button “Trust Center Settings…” >> Macro Settings >> enable check box “Trust access to the VBA project object model”

Enable Excel VBA Project trast access

You need to perform this step only once, before the first compilation.

 

How to convert a Excel Workbook to an EXE File

  • Firstly, start by copying a workbook you would like to compile into the “My Documents” folder or its sub-folder.
  • Then, open the workbook by double clicking on it with the left mouse button in the File Explorer.
  • Your installed Excel version will open and display your workbook. To illustrate our explanation we will be using our Sample.xls file.
  • Select DoneEx >> XCell Compiler >> Compile, from the Excel main menu bar.
    DoneEx XCell Compiler menu in Microsoft Excel
  • The following dialog form will appear.

 

DoneEx XCell Compiler - tool to convert Excel workbook to EXE file

 

  • The ‘Application Name’ field is filled by the workbook name by default.
  • Put the version number 1 0 2 as shown in the above image
  • Enter the copyright text in the copyright box.
  • The target path shows the location and file name of your compiled application. By default, the location of the compiled EXE file will be in the same folder as where your original workbook is located. By default, the name of your compiled EXE will be the same as your original workbook name but with a ‘.EXE’ file extension.
  • Click the compile button in the XCell Compiler screen. Once the compilation is completed, the following message will be displayed:

 

Message box: Workbook compilation done successfully

  • Click OK on the compilation message screen.
  • Click the close button on the XCell Compiler screen.
  • Close Excel.
  • Once the Excel worksheet is compiled, a file with the EXE format will be saved at the specified target path.
    Browse “My Documents” to use the compiled file, and then just double click the compiled file icon (sample.exe file) with the left mouse button.
  • The file will be opened in a Microsoft Excel environment.
  • You have now secured the file! You can finally send the compiled file to your client with peace of mind.

 


 

See Also:

How to create installer for Excel workbook

Miscellaneous Frequently Asked Questions

Excel Compiler features

DoneEx Home

VBA Compiler available

  VbaCompiler for Excel
VBA to DLL

  • Excel Compiler
    • Features
    • Protect Excel formulas
    • Compile workbook to EXE file
    • Compile for Excel 32 and 64 bit
    • Protect Excel VBA code
    • License workbook with activation key
    • Create trial / demo workbook
    • Hide Excel on start
    • Export/import changed data
    • Protect with dongle, USB stick
    • Frequent Q&A
    • Download XCell Compiler
    • EULA
    • Privacy Policy
  • VBA Compiler for Excel
    • Bulk Registration Key Generator
Copyright 2005-2025 © DoneEx LLC. All Rights Reserved