
04-18-2022, 03:34 AM
|
 |
Administrator
|
|
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
|
|
Multiple issues:
1. There is no such thing as a "curve" Reference Type. See:
Selection.InsertCrossReference method (Word) | Microsoft Docs
WdReferenceType Enum (Microsoft.Office.Interop.Word) | Microsoft Docs
WdCaptionLabelID Enum (Microsoft.Office.Interop.Word) | Microsoft Docs
2. You're missing the required quite characters & line continuation characters here:
Code:
number of curve " & _
"do you
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|