KB0160: La copia di una selezione multipla di celle non adiacenti non riesce

Problema

La copia di una selezione multipla di celle non adiacenti nel foglio dati thinkcell non funziona. Quando si selezionano più celle non adiacenti, ad esempio premendo il tasto Ctrl e facendo quindi clic sulle celle, e poi si copiano/incollano queste celle nel foglio dati interno di thinkcell, vengono incollate anche le celle non selezionate intermedie.

Visualizzazione della selezione multipla copiata e di quella incollata
  • Foglio di origine: vengono copiate le celle A1, A3, A5 > Foglio di destinazione: vengono incollate A1:A5

Spiegazione

Si tratta di una limitazione di progettazione di Excel. Il foglio dati interno di thinkcell è basato su Excel, ma è un processo Excel separato. Il problema può essere riprodotto anche senza thinkcell quando si copiano/incollano celle non adiacenti in un processo Excel separato. Scopri di più

Riproduzione senza thinkcell:

  1. Aprire Excel e immettere alcuni numeri nelle celle da A1 ad A5.
  2. Selezionare le celle A1, A3 e A5 tenendo premuto il tasto Ctrl e facendo clic in queste celle (come nello screenshot precedente). Copiare la selezione.
  3. Avviare un processo Excel separato facendo clic con il pulsante destro del mouse sul simbolo di Excel nella barra delle applicazioni e facendo clic su Microsoft Excel 20… Come avviare un processo Excel separato In Excel 2013 e versioni successive, tenere premuto contemporaneamente il tasto ALT per avviare un processo separato. Confermare il messaggio Do you want to start a new instance of Excel? con Yes.
  4. Incollare (ad esempio premendo Ctrl + V).

Risultato: vengono incollate anche le celle non selezionate A2 e A4.

Abbiamo segnalato questo problema al Supporto tecnico Microsoft Office come caso 112021442496011. Il Supporto tecnico Microsoft Office afferma che questo comportamento finora non è documentato, ma è 'by design'. Scopri di più

“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)