Copy-Methode (Excel Graph)Copy method (Excel Graph)
Die Copy -Methode, wie Sie auf die Objekte ChartArea und Range angewendet wird.The Copy method as it applies to the ChartArea and Range objects.
ChartArea-ObjektChartArea object
Kopiert ein Bild des Datenpunkts oder der Datenreihe in die Zwischenablage.Copies a picture of the point or series to the Clipboard.
SyntaxSyntax
Ausdruck. Kopieren Sieexpression.Copy
Ausdruck: Erforderlich.expression Required. Ein Ausdruck, der ein ChartArea -Objekt zurückgibt.An expression that returns a ChartArea object.
Range-ObjektRange object
Kopiert den Bereich in den angegebenen Bereich oder in die Zwischenablage.Copies the range to the specified range or to the Clipboard.
SyntaxSyntax
Ausdruck.Kopie (Ziel)expression.Copy (Destination)
Ausdruck: Erforderlich.expression Required. Ein Ausdruck, der ein Range -Objekt zurückgibt.An expression that returns a Range object.
ParameterParameters
NameName | Erforderlich/OptionalRequired/Optional | DatentypData type | BeschreibungDescription |
---|---|---|---|
DestinationDestination | OptionalOptional | VariantVariant | Gibt den neuen Bereich an, in den der angegebene Bereich kopiert wird.Specifies the new range to which the specified range will be copied. Wenn dieses Argument ausgelassen wird, kopiert Graph den Bereich in die Zwischenablage.If this argument is omitted, Graph copies the range to the Clipboard. |
BeispielExample
In diesem Beispiel werden die Formeln in Zelle A1:D4 im Datenblatt in die Zelle E5:H8 kopiert.This example copies the formulas in cells A1:D4 on the datasheet into cells E5:H8.
Set mySheet = myChart.Application.DataSheet
mySheet.Range("A1:D4").Copy _
Destination:= mySheet.Range("E5")
Support und FeedbackSupport and feedback
Haben Sie Fragen oder Feedback zu Office VBA oder zu dieser Dokumentation?Have questions or feedback about Office VBA or this documentation? Unter Office VBA-Support und Feedback finden Sie Hilfestellung zu den Möglichkeiten, wie Sie Support erhalten und Feedback abgeben können.Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.