Results 1 to 5 of 5

adding a signature text to a "Signature Line"

Threaded View

  1. #1
    Registered User
    Join Date
    09-06-2021
    Location
    London, England
    MS-Off Ver
    365
    Posts
    5

    adding a signature text to a "Signature Line"

    I have over 50 excel files to prepare and need to add a visible Signature Line in them and would like to automatically sign them with my name in the signature text box.

    I have this code

    Dim mysignature1 As Signature
        Application.DisplayAlerts = False
        Set mysignature1 = ActiveWorkbook.Signatures.AddSignatureLine("{00000000-0000-0000-0000-000000000000}")
        mysignature1.Setup.SuggestedSigner = "Julian Peers"
        mysignature1.Setup.SuggestedSignerLine2 = ""
        mysignature1.Setup.SuggestedSignerEmail = "xxxxxx.com"
        mysignature1.Setup.AllowComments = True
        mysignature1.Setup.ShowSignDate = True
        mysignature1.SignatureText = "J Peers"
        Application.DisplayAlerts = True
    and the bit that doesnt work is >>>>
    mysignature1.SignatureText = "J Peers"
    i have also tried >>>>>
     mysignature1.SignatureInfo.SignatureText = "J Peers"
    I cant seem to find out online what the signature text box is called, where in the object it's located (assuming it's not in setup) and how to automatically populate it with text instead of a signature picture image for example. I havent tried "SigLine" which someone suggested online -but still dont know if it has a location before it.

    all the other bits seem to work...
    Last edited by alansidman; 09-06-2021 at 02:41 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA: Getting signature data from signed and unsigned signature blocks
    By KeithWood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2022, 06:05 AM
  2. Signature Line
    By williard19 in forum Excel General
    Replies: 1
    Last Post: 06-27-2019, 08:00 AM
  3. Replies: 3
    Last Post: 04-15-2015, 09:34 PM
  4. Range Value Macro keeping "Data Signature"
    By sgrande01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-20-2013, 03:53 AM
  5. VBA help to Code a "Signature" line using borders
    By Jeep56 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-03-2013, 10:50 AM
  6. Multiple signature or signature areas on a form
    By dstocker in forum Excel General
    Replies: 0
    Last Post: 05-25-2012, 05:08 PM
  7. Protect "signature" cell
    By DTTODGG in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-23-2006, 04:54 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1