Moderatori: Anthony47, Flash30005
Dim cSel As String
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
On Error Resume Next
If cSel <> "" Then Range(cSel).Select
On Error GoTo 0
End Sub
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
cSel = Target.Address
End Sub
Dim cSel As String
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
ignora = Array("Foglio2", "Foglio4") '<<<
If IsError(Application.Match(Sh.Name, ignora, 0)) Then
On Error Resume Next
If cSel <> "" Then Range(cSel).Select
On Error GoTo 0
End If
End Sub
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
ignora = Array("Foglio2", "Foglio4") '<<<
If IsError(Application.Match(Sh.Name, ignora, 0)) Then
cSel = Target.Address
End If
End SubTorna a Applicazioni Office Windows
| How to Fix Excel Freezing When Opening Large Files on Window Autore: olalaleon |
Forum: Applicazioni Office Windows Risposte: 2 |
| Mantenere la stessa formattazione con Errore Autore: danibi60 |
Forum: Applicazioni Office Windows Risposte: 5 |
Visitano il forum: Nessuno e 24 ospiti