Sorry dachte dass Thema reicht aus
Hab Werte die ich in ner Exceltabelle darstelle dazu hab ich auch Grafiken, die ich gerne direkt ins Excel übertragen möchte...
Jetzt wird in das erste Sheet von Testmappe.xls gespeichert. Die Datei muss in dem Verzeichnis existieren, das als Standardspeicherort eingestellt ist. Sonst Pfad mit angeben.
_________________
Viele Grüße
nschlange
"Chuck Norris ejakuliert fluessigen Stahl!"
Gast
Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
Verfasst am: 22.09.2008, 08:46
Titel:
Danke, das läuft zwar soweit...
aber ich krieg es leider nicht hin, dass mein Bild direkt mit der Auswertung, also nach einem Durchlauf gespeichert wird.
Und ich bin wohl auch so blöd das Bild im 2ten anstatt im 1ten Sheet zu speichern.
Und wie siehts damit aus, wenn ich das Bild im Sheet woanders haben will (das ist immer oben links)
Ich weiß Fragen über Fragen ... ich bin leider total blöde
Danke, das läuft zwar soweit...
aber ich krieg es leider nicht hin, dass mein Bild direkt mit der Auswertung, also nach einem Durchlauf gespeichert wird.
expression Required. An expression that returns a Shapes object.
FileName Required String. The path and file name of the picture.
LinkToFile Optional Variant. True to link the picture to the file from which it was created. False to make the picture an independent copy of the file. The default value is False.
SaveWithDocument Optional Variant. True to save the linked picture with the document. The default value is False.
Left Optional Variant. The position, measured in points, of the left edge of the new picture relative to the anchor.
Top Optional Variant. The position, measured in points, of the top edge of the new picture relative to the anchor.
Width Optional Variant. The width of the picture, in points.
Height Optional Variant. The height of the picture, in points.
Anchor Optional Variant. The range to which the picture is bound. If Anchor is specified, the anchor is positioned at the beginning of the first paragraph in the anchoring range. If this argument is omitted, however, the anchor is placed automatically and the picture is positioned relative to the top and left edges of the page.
_________________
Viele Grüße
nschlange
"Chuck Norris ejakuliert fluessigen Stahl!"
Gast
Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
Verfasst am: 22.09.2008, 10:57
Titel:
Danke.... so siehts jetzt aus!!! Allerdings hätte ich noch eine kleine Frage...
Diesem Code nach muss ich beim Schliessen von Excel immer die Speicherung bestätigen.
Die Datei kann sich doch sicherlich nach Einfügen des Bildes auch selber Speichern
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.