View Single Post
 
Old 04-18-2022, 04:28 AM
soroush.kalantari soroush.kalantari is offline Windows 10 Office 2016
Competent Performer
 
Join Date: Jun 2021
Posts: 124
soroush.kalantari is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
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
Thank you for your reply. I have created a caption label for my Word curves and Now I want to cross-reference them(curve is label name). I don’t think there be a issue in this process (when I cross reference manually it works. Also as I told in question, even the macro worked for a while, but then stopped working.) The 2th issue ( Line continuation character)doesn't exists in my code. (I had pasted my code in the site in the wrong way, and Now I corrected it)
Reply With Quote