Table of contents
Collapse the table of content
Expand the table of content

SignatureSet.AddSignatureLine Method (Office)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Adds lines to a document where signatures are collected.


expression. AddSignatureLine( varSigProv )

expression An expression that returns a SignatureSet object.


NameRequired/OptionalData TypeDescription
varSigProvOptionalVariantRepresents the ID of the signature provider.

Return Value



After the line is added, the author of the document can add the necessary information so that each signature line shows the name and (optionally) the title of the person who should sign. When a user opens the document, Microsoft Office recognizes that one or more signature lines are present, but blank. Office then alerts the user that they need to sign this document and helps them find where in the document the requested signatures are located.


The procedure in the following example receives the ID of a signature provider and, as long as the document is not read-only, adds a signature line.

Function InsertSignatureLines(ByVal SignProviderID As Variant) As Signature 
Dim objSignature As Signature 

If CanAddSignatureLine Then 
 objSignature = AddSignatureLine(SignProviderID) 
End If 

InsertSignatureLines = objSignature 

End Function

See also


SignatureSet Object

Other resources

SignatureSet Object Members

© 2018 Microsoft