Hallo Horst, es ist nicht Components sondern Frames. Also dim oDocuments as variant oDocuments = StarDesktop.Frames
Das ist dann ein Array und ein einzelnes bekommst du dann z.B. mit oDocuments(1). Die Liste musst du dann durchgehen, bis du das gesuchte Dokument gefunden hast.
Mit freundlichen Grüßen Regina --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
