I have a button that runs some existing code which pulls a number of Call statements. These Call statements pull up Subs and Functions from existing items in the Script Library. Everything in the existing items is working as it should.
I have created some new Subs and a Function in an existing Library to run in this button. I have added a new Call statement prior to the first existing Call statement in the code. However, when I click the button, my new Call statement is skipped as if it wasn’t there. It does not return an error.
The first line of my new Sub is:
Sub NewName(doc As NotesDocument, type As String)
My new Call statement is:
Call NewName(doc, type)
The first line of the existing Sub is:
Sub OldName(adb As NotesDatabase, bdb As NotesDatabase, adoc As NotesDocument, _
bdoc As NotesDocument, cdoc As NotesDocument, ddoc As NotesDocument,_
addcodea As String, addcodeb As String)
The first exsiting Call statement is:
Call OldName(db, blankdb, currdoc, blankdoc, blankdoc, blankdoc, “Text”, “More Text”)
To add a little more detail:
All of the necessary libraries are setup to be used in the Document ‘Options’.
The doc and type are dimmed in the button’s code.
I verified and re-verified that the actual name of my Sub is spelled correctly in the new Call Statement.
Any help with this would be great.