IBM Support

IBM Rational DOORS error when exporting from Microsoft Word: Run-time error '5904': Cannot edit Range

Troubleshooting


Problem

When exporting a Microsoft Word document to IBM Rational DOORS using 'Export to DOORS' macro, following visual basic run-time error occurs: Run-time error '5904': Cannot edit Range.

Symptom

The full error message is as follows:

Run-time error '5904': Cannot edit Range.

Cause

This issue can be seen if the Microsoft Word document you are trying to export to IBM Rational DOORS has any track changes enabled or contains field codes.

Resolving The Problem

Track changes or Field codes are not supported by IBM Rational DOORS.

As workaround(s):

  1. Disable track changes or field codes in MS Word document, and then try exporting to Rational DOORS.
  2. Save the Microsoft Word document as 'Rich Text Format' (RTF), and import it within Rational DOORS using File -> Import -> Rich Text Format functionality.

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.2;8.3;9.0;9.1;9.1.0.2;9.2;9.2.0.1;9.2.0.2;9.2.0.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21429580