View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
msnews.microsoft.com[_10_] msnews.microsoft.com[_10_] is offline
external usenet poster
 
Posts: 1
Default SAP Late Binding Problem

I am trying to use SoapClient30 to acces a web service. If I use the
following with a reference set to the Microsoft Office Soap Type Library
v3.0, this works fine:

Dim objSClient As New MSOSOAPLib30.SoapClient30
Set objSClient = New SoapClient30

However, I do not want to make all users have to select the reference, so I
want to late bind. I have tried the following:

Dim objSClient As Object
Set objSClient = CreateObject("MSOSOAPLib30.SoapClient30")

When I do this I get an error that states the "ActiveX component can't be
created."

Any help is appreciated.