Non trovo da nessuna parte come copiare le SOLE righe dei
subtotali in una tabella ordinata; vorrei proseguire il lavoro lavorando
SOLO su queste righe -> anche in un file separato.
E mai possibile che non sia stato previsto un comando immediato?
--
Fritz [MVP Frontpage]
--> riolab.org
--> EXWD.eu
--> sharepointserver.it
> Non trovo da nessuna parte come copiare le SOLE righe dei
> subtotali in una tabella ordinata; vorrei proseguire il lavoro lavorando
> SOLO su queste righe -> anche in un file separato.
>
> E mai possibile che non sia stato previsto un comando immediato?
Seleziona i subtotali
F5 | Speciale | Celle Visibile
Copia la selezione
Incolla i subtotali sull'altro foglio.
In alternativa, prova a assegnare la seguente macro ad un pulsante:
'=============>>
Public Sub Tester001()
Dim rngSubtotali As Range
Dim Rngdest As Range
Const msg As String = "Hai cancellato"
On Error Resume Next
Set rngSubtotali = Application.InputBox _
(prompt:="Seleziona un subtotale", _
Type:=8, _
Title:="Subtotali")
If rngSubtotali Is Nothing Then GoTo XIT
Set rngSubtotali = rngSubtotali. _
CurrentRegion.SpecialCells(xlVisible)
If Not rngSubtotali Is Nothing Then
Set Rngdest = Application.InputBox _
(prompt:="Seleziona la destinazione cella", _
Type:=8, _
Title:="Destinazione")
If Not Rngdest Is Nothing Then
rngSubtotali.Copy Destination:=Rngdest
Else
GoTo XIT
End If
End If
Exit Sub
XIT:
MsgBox prompt:=msg, Buttons:=vbCritical, Title:="Uscita"
End Sub
'<<=============
---
Regards,
Norman
An option under the modify column in the standard bar (Special Copy) the logical solution would have been (which I also looked for).
Fortunately it gives specialists like you!