Domino 9 und frühere Versionen > ND6: Entwicklung

Excel Datei nicht speichern

<< < (4/4)

Axel:
Ich hab's mal probiert. Bei mir funktioniert es einwandfrei. Notes Client 6.5.3 dt und Excel 2003


--- Code: --- Dim objExcel As Variant
Dim objSheet As Variant   

Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True

Call objExcel.Workbooks.Add
Set objSheet = objExcel.ActiveWorkbook.Worksheets(1)

objSheet.Range("A1").Value = 123

objExcel.ActiveWorkbook.Saved = True

--- Ende Code ---

Axel

Glombi:
Bei mir gehts nun auch  :)

Wichtig ist ActiveWoorkbook !

Andreas

koehlerbv:
Bei mir mit einer betagteren Version (6.5.4, Excel 2000): Völlig problemlos.

Ich kann mir nach wie vor nicht vorstellen, dass LotusScript damit irgendetwas zu haben sollte - Notes hat ja Null Ahnung von Excel und ist darauf angewiesen, was der OLE-Server zurückliefert.

Bernhard

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln