Thanks Peter,
Yes Set SapGuiAuto = CreateObject("Excel.Sheet") works.
Why "SAPGUI" must be an ActiveXObject? Is it by design?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] > >
