How to perform Excel workbook copy protection with Registration Key tool


The product offers very easy and hassle-free Excel workbook copy protection. You do not need to have programming skills to perform complete professional copy protection for your Excel spreadsheet. You do not need any additional hardware like dongles or hardware keys.


You can get the following benefits when you use software-based XCell Compiler Registration Key tool.

  • Hardware locking! Lock your excel application to a specific customer’s computer without hardware dongles.
  • Block illegal copying from one computer to another. You can chose on which target computer, or computers,  your protected workbook will start.
  • Simple and effective protection procedure, all has already been done for you!
  • Protect your excel application from being reverse engineered and analyzed by others.
  • Evaluation (trial) version of your protected workbook. Easily create trial/demo version of your excel application, with adjustable trial period  and option to upgrade the workbook from trial mode into fully functional registered mode by sending the activation/registration key file to your customer by e-mail.
  • Flexible license. You will be able to set the date of license expiration.
  • License extension. You can easily extend your client’s license after expiration without  having to recompile the application.


Registration key tool usage example

Let’s consider an example of the hardware locking process and registration key tool usage.


1. Open your workbook in Excel. We will use the Sample.xls workbook for this example.

2. Compile the workbook with “Copy Protection With Registration Key” and “Hardware Locking” options checked,  as shown below.

XCell Compiler form with selected copy protection option

Please note that if the “Copy Protection With Registration Key” is selected then the “Limit application usage period” is inaccessible. The date limit can be set during the process of the regkey generation (see below).  After compilation, the Smaple.exe file in the target folder will be created.

3. When you or your customer will try to start the Sample.exe file without a registration (activation) key, the ‘Registration key is not found’ message will appear, as shown below.

Registration key is not found message

Let’s consider how to create registration key for copy-protected application.

4.  Click “Registration Key Tool” menu item via the following path in the Excel main menu ‘DoneEx >> XCell Compiler >> Registration Key Tool’ .

Registration Key Tool menu item selected in XCell Compiler menu

Registration Key Tool window will be opened.

XCell Compiler Registration Key Tool window

5. Fill out the fields as follows:

  • Field ‘Path to compiled Exe’. Browse until you find Sample.exe created in previous steps.
  • Field ‘Application Name’ –  is filled out automatically from EXE file.
  • Put customer name and customer email address into the corresponded fields of the form.
  • Now the most important information is the computer id, please copy/type the computer id into the “Customer Computer ID” field.
  • You can also put the date restriction on the registration file by choosing the ‘Limit application usage period’.
  • When you click the ‘Create RegKey’ button, the Regkey Tool will create ‘sample.rkey’ (If you use your workbook with different name then the name of regkey will be: <name of your workbook>.rkey) in the same directory where your compiled file is located.
  • You can send the generated regkey file to your customer, so that the compiled Sample.exe will run only in his/her computer.

With the steps above you can protect your excel application from illegal copying from one computer to another.


Related Articles:

Excel Workbook Copy Protection