Skip to main content
OCLC Support

CopyControlNumber

Find the syntax, use, parameters, return values, and an example for the CopyControlNumber macro command in Connexion client.
Syntax CS.CopyControlNumber
Use to Copy the control number of the current record to the clipboard (control number is the OCLC number of a bibliographic record or the ARN of an authority record).

Same as using the command Edit > Cut Copy Paste > Copy Control Number.
Parameters None
Return values None
Example Sub Main()
 

     Dim CS As Object
     Set CS = GetObject(,“Connex.Client”)

     If CS.IsOnline = False Then
          CS.Logon ““, ““, ““
     End If

     CS.Search “WC”, “#1”

     CS.CopyControlNumber
End Sub
What this example does
  • Logs on to Connexion if not already logged on, using the default authorization and password you selected in Tools > Options > Authorizations tab.
  • Searches WorldCat for record number 1.
  • Copies the OCLC control number to the Windows clipboard.