Getting Type mismatch for my function
- by Sandy Williams
I am getting an error message i.e. Type mismatch: 'EMXWEB_IE_LAUNCH'
Line (1): "' ==============================================================================".
the function is
Option Explicit
Public Function EMXWEB_IE_LAUNCH (dicArguments, sErrMsg)
Dim strVersion
Dim strExeVersion
Dim WshShell
Dim strEMXWebBrowserTitleBarText
Dim ie
Const strFunctionName = "EMXWEB_IE_LAUNCH"
Set ie = CreateObject( "InternetExplorer.Application" )
ie.Navigate "www.google.com"
ie.Visible=True
End Function
Could any one let me know where i am wrong and why i am getting this issue