XCell Compiler

  • Product
    • Home
    • News
    • Options Overview
    • Features By Licenses
    • Excel Formula Protection
    • Workbook Copy Protection
    • VBA Copy Protection
    • Custom Message Content
    • Bulk Registration Key Generator
  • Q&A
    • Install and Uninstall
    • Questions about trial version
    • Technical
    • Troubleshooting
    • Buying product
    • Updates
  • How-To
    • How to compile workbook to exe
    • Create registration key for compiled workbook
    • Create protected trial/demo workbook
    • Compile EXE for Excel 32 and 64 bit
    • Hide Excel on start
    • Keep compilaton options settings
    • Export/Import changed data
    • Set date limitation for workbook
    • Translate or change default messages
    • Runtime API References
    • Protect Workbook with Dongle
    • Compile Time Troubleshooting
  • Download
  • Order
  • Testimonials
  • Contact Us

Excel workbook copy protection

When licensing and distributing a spreadsheet to a customer, you are responsible for implementing Excel workbook copy protection to prevent unauthorized copying and usage of your intellectual property.

The term “copy protection” does not mean that a protected Excel file cannot be copied from one computer to another.
Workbook copy protection means that author of the protected workbook will be able to give permission to use the application on a specific computer. Without such permission, the protected workbook will not start.

The first, and most important, prerequisite for Excel spreadsheet copy protection is the inaccessibility of cell formulas in the spreadsheet. The compilation of all of the cell formulas in the workbook into binary code and their removal from the spreadsheet’s cells ensures this.

In the DoneEx XCell Compiler, the Excel workbook copy protection is implemented by tying the compiled workbook (EXE file) to the registration key with the information about the target computer. It checks if the customer has enough permissions to use the workbook on the computer when compiled workbook is started.

The registration/activation key (regkey) is an encrypted file which contains all of the registration information about the registered customer, company, and the target computer where it allows the compiled EXE to start.

The registration key uses a computer id number to identify the target computer. The Computer ID is created from the unique hardware and software information of the computer, and is then used to identify that computer. It is impossible for there to be 2 identical computer IDs for 2 different computers.

 

How the workbook copy protection works

1. You compile the EXE file with the hardware locking option selected, then put it on web for downloading or send this EXE to your client some other way.

2. Your client tries to start this EXE file, sees the window that contains only his computer id number and sends this number to you.

3. You generate the registration key using your client’s registration info (name, email, etc) along with their computer id number, and send it to your client (after they made purchase, for example).

4. Your client copies the registration key into the same folder as where the EXE is located.

5. The EXE starts only on that computer.

 

Main stages of the workbook copy protection process

Step 1. Workbook compilation with copy protection options

concept of the workbook copy protection with selected areas

The above image marks the compilation options that are relevant to copy protection.
You should enable the Hardware locking option for this process.
The Application name creates an internal link between the compiled EXE and the registration key file (regkey).
The compiled EXE file will search for the regkey file by the name which you have entered in the ‘Registration key file name’ field.

Step 2. Request the customer’s computer ID

When your customer receives the compiled EXE for the first time (without a regkey), they cannot run the application.
This is because when they try to start the EXE, they will only be able to see the following message:

Registration key is not found messageYour customer will need to copy the computer id and email it to the author.

 

Step 3. Creation of the registration/activation key.

XCell Compiler Registration Key Tool form

 

After you have created the registration key file, you need to send it to your customer. The customer then copies the regkey file into the folder with the protected workbook and, in doing so, unlocks the workbook. The customer can now use the protected workbook.

 

Video tutorial how to apply copy protection to Excel workbook

 

See Also

How to use Registration Key Tool
Bulk Registration Key Generator
Excel Workbook Licensing
 

VBA Compiler Available

DoneEx Vba Compiler for Excel
  • XCell Compiler
    • News
    • Options Overview
    • Features by licenses
    • Excel Formulas Protection
    • Workbook Copy Protection
    • VBA code copy protection
    • Custom Message Content
    • Bulk RegKey Generator
    • Privacy Policy
  • How-To
    • Compile workbook to EXE
    • Use registration key tool
    • Create trial/demo workbook
    • Select target Excel bitness
    • Hide Excel on start
    • Options settings configuration
    • Export/import changed data
    • Date limitation options
    • Translate messages
    • Runtime API References
    • Protect Workbook with Dongle
    • Compile Time Troubleshooting
Copyright 2005-2025 © DoneEx LLC. All Rights Reserved.