Code:
function open(strURL)
Dim oexplorer
Set oexplorer=createobject("InternetExplorer.application")
oexplorer.visible=true
oexplorer.navigate strURL
Set open=oexplorer
Set oexplorer=nothing
End FunctionCall open("http:\\yahoo.in")
I think this approach will make the function dynamic.
Regards,
Sankalp

