As part of a SharePoint workflow, link to a custom document property called "Link to graphic as text" I have been trying to codify a macro within the Word document template so that when the user runs it, the picture will be added to the document. Here is the code that I have:
as a dd slow wdDoc document in the form of a filepath string set wdDoc = ActiveDocument filePath = wdDoc.CustomDocumentProperties ("Link to Graphics as Text" ). Get the error here wdDoc.Shapes.AddPicture _FileName: = filePath, _LinkToFile: = msoTrue, _SaveWithDocument: = msoTrue, _left: = - 5, _top: = 5
Therefore, in my opinion there is no property which you want to take value. Check all the properties and check them in the IDE immediately by typing the property in such a way that check.
sub-check_if_exists () Digd ActiveDocument.CustomDocumentProperties for each CDP as CD-CD documents. Print CDP .Name, CDP.Value Next End Sub
No comments:
Post a Comment