On 9/2/13 11:09 AM, Clarence GUO wrote:
> Thanks Peter,
> Yes Set SapGuiAuto = CreateObject("Excel.Sheet") works.
> Why "SAPGUI" must be an ActiveXObject? Is it by design?
>
whatever it is in detail it is not part of AOO by default and probably
comes from somewhere else.
Juergen
> Clarence
>
>
> 2013/9/2 Peter Eberlein <[email protected]>
>
>>
>> Hi Clarence,
>> Am 02.09.2013 08:47, schrieb Clarence GUO:
>>
>> Hi~
>>> I'm totally green at StarBasic and VBA. Now I have a question about
>>> CreateObject. I installed SAP and have below macros.
>>>
>>> Dim SapGuiAuto As Variant
>>> Set SapGuiAuto = CreateObject("SAPGUI")
>>>
>>> "SAPGUI" must be an ActiveXObject.
>>
>> Does Set SapGuiAuto = CreateObject("Excel.Sheet") work?
>>
>> Regards Peter
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail:
>> dev-unsubscribe@openoffice.**apache.org<[email protected]>
>> For additional commands, e-mail: [email protected]
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]