Excel 2010, Win7.
I'm trying to use a Re-Login macro button on a spreadsheet.
VB throws the Compile Error: User-defined type not defined. Clicking ok on the error highlights the following code:
Public objHTTP As LawSSOHttp2.SSOHttp.
The code in this General Declarations is:
Option Explicit
'Login Variables
Public gsServer As String
Public gsUserName As String
Public gsPassword As String
Public gsProductLine As String
Public gaLoginInfo As Variant
Public nRun As Long
'Set Tools | References for
' Microsoft XML, v4.0
' Lawson SSO Http 2
'Server Variables
Public objDOMDoc As MSXML2.DOMDocument40
Public objHTTP As LawSSOHttp2.SSOHttp
Public bSaveString As Boolean
'Constants
Global Const LOGIN_DIR = "C:\Program Files\Lawson Software\Common\"
Global Const HISTORY_FILE = "LoginHist.nbp"
Global Const CONVERSION_FACTOR = 10
This is an old .xls spreadsheet running in Compatibility Mode.
I'm trying to use a Re-Login macro button on a spreadsheet.
VB throws the Compile Error: User-defined type not defined. Clicking ok on the error highlights the following code:
Public objHTTP As LawSSOHttp2.SSOHttp.
The code in this General Declarations is:
Option Explicit
'Login Variables
Public gsServer As String
Public gsUserName As String
Public gsPassword As String
Public gsProductLine As String
Public gaLoginInfo As Variant
Public nRun As Long
'Set Tools | References for
' Microsoft XML, v4.0
' Lawson SSO Http 2
'Server Variables
Public objDOMDoc As MSXML2.DOMDocument40
Public objHTTP As LawSSOHttp2.SSOHttp
Public bSaveString As Boolean
'Constants
Global Const LOGIN_DIR = "C:\Program Files\Lawson Software\Common\"
Global Const HISTORY_FILE = "LoginHist.nbp"
Global Const CONVERSION_FACTOR = 10
This is an old .xls spreadsheet running in Compatibility Mode.