Juergen, Yes SAPGUI is not an AOO default object, it should be a SAP COMM object. Do you mean OpenOffice Basic doesn't support non-default objects? If so, what are the OpenOffice Basic default objects?
Clarence 2013/9/2 Jürgen Schmidt <jogischm...@gmail.com> > 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 <pet....@refofd.verwalt-berlin.de> > > > >> > >> 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< > dev-unsubscr...@openoffice.apache.org> > >> For additional commands, e-mail: dev-h...@openoffice.apache.org > >> > >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > >