KB0160: Das Kopieren einer Mehrfachauswahl nicht benachbarter Zellen schlägt fehl
- Startseite
- Ressourcen
- Knowledge Base
- KB0160
Problem
Das Kopieren einer Mehrfachauswahl nicht benachbarter Zellen in das thinkcell-Datenblatt funktioniert nicht. Wenn mehrere nicht benachbarte Zellen ausgewählt werden, z. B. indem die Taste Ctrl gedrückt gehalten und anschließend auf Zellen geklickt wird, und diese Zellen dann in das interne Datenblatt von thinkcell kopiert/eingefügt werden, werden auch dazwischenliegende, nicht ausgewählte Zellen eingefügt.
- Quellblatt: Zellen A1, A3, A5 werden kopiert > Zielblatt: A1:A5 werden eingefügt
Erläuterung
Dies ist eine Designbeschränkung von Excel. Das interne Datenblatt von thinkcell basiert auf Excel, ist jedoch ein separater Excel-Prozess. Das Problem lässt sich auch ohne thinkcell reproduzieren, wenn nicht benachbarte Zellen in einen separaten Excel-Prozess kopiert/eingefügt werden. Mehr lesen
Reproduktion ohne thinkcell:
- Öffnen Sie Excel und geben Sie einige Zahlen in die Zellen A1 bis A5 ein.
- Wählen Sie die Zellen A1, A3 und A5 aus, indem Sie die Taste Ctrl gedrückt halten und in diese Zellen klicken (wie im obigen Screenshot). Kopieren Sie die Auswahl.
- Starten Sie einen separaten Excel-Prozess, indem Sie mit der rechten Maustaste auf das Excel-Symbol in der Taskleiste klicken und auf Microsoft Excel 20…
klicken. Halten Sie in Excel 2013 und später gleichzeitig die Taste ALT gedrückt, um einen separaten Prozess zu starten. Bestätigen Sie die Meldung Do you want to start a new instance of Excel? mit Yes.
- Fügen Sie ein (z. B. durch Drücken von Ctrl + V).
Ergebnis: Die nicht ausgewählten Zellen A2 und A4 werden ebenfalls eingefügt.
Wir haben dieses Problem beim Microsoft Office Support unter der Fallnummer 112021442496011 gemeldet. Der Microsoft Office Support gibt an, dass dieses Verhalten bislang nicht dokumentiert ist, aber „by design“ ist. Mehr lesen
“This behavior is by design.
When you use the clipboard for copy and paste, you are using a feature that is designed to work across all office applications. Since this is the case, the clipboard uses HTML code for storing and then pasting data. The HTML code is limited to a range select and you get all the data in the range including the cells you did not select. It is creating a table in HTML code and uses this table for the paste action. This allows the clipboard to share data from Excel to other office applications such as Word, Power Point, and other instances of Excel outside this workbook.
When you use Ctrl-C and then follow it up with Ctrl-V instead of using the clipboard you are using an internal Excel single instance copy feature that allows Excel to copy only the selected cells. This gives you the desired behavior. The clipboard has limits due to the fact that it shares with all office applications. The limit to the clip board was planned due to the huge amount of data that would be required to do a simple copy and paste. Large copy actions would overwhelm the system and cause huge slowdowns in performance. The HTML copy is a stripped down version of the internal copy and therefore there are differences and limits.” (Microsoft Office Support)