diff --git a/src/java/org/apache/poi/hssf/record/formula/Ptg.java b/src/java/org/apache/poi/hssf/record/formula/Ptg.java index 8cd18b0e1..1e4a5c397 100644 --- a/src/java/org/apache/poi/hssf/record/formula/Ptg.java +++ b/src/java/org/apache/poi/hssf/record/formula/Ptg.java @@ -266,6 +266,13 @@ public abstract class Ptg retval = new NamePtg(data, offset); break; + + case NameXPtg.sid : // 0x39 + case NameXPtg.sid+0x20 : // 0x45 + case NameXPtg.sid+0x40 : // 0x79 + + retval = new NameXPtg(data, offset); + break; case ExpPtg.sid : retval = new ExpPtg(data, offset);