Moderatori: Anthony47, Flash30005
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Column = 2 And Selection.Count = Rows.Count Then
MsgBox ("ciao")
End If
End SubPrivate Sub Worksheet_SelectionChange(ByVal Target As Range)
If Selection.Column = 2 Then
MsgBox ("ciao")
End If
End SubPrivate Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
'Colonna Richiesta d'offerta
If ActiveCell.Column = 1 Then
ActiveCell.Offset(-1, 0).Range("A1").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"C:\Archivio" & "RDO" & ActiveCell.Value & ".pdf", TextToDisplay:= _
ActiveCell.Text
Exit Sub
End If
'Colonna Offerta
If ActiveCell.Column = 2 Then
ActiveCell.Offset(-1, 0).Range("A1").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _
"C:\Archivio" & "OFF" & ActiveCell.Value & ".pdf", TextToDisplay:= _
ActiveCell.Text
Exit Sub
End If
' e così le altre colonne
End SubIf Target.Column=1 then 'per sondare se il change e' avvenuto in colonna ATarget.Offset(0,1).Value="XYZ 'per mettere XYZ in colonna B accanto alla cella cambiataTorna a Applicazioni Office Windows
| copia celle adiacenti da tre fogli Autore: Gianca532011 |
Forum: Applicazioni Office Windows Risposte: 10 |
| Excel apre solo una schermata bianca Autore: jameswilson |
Forum: Applicazioni Office Windows Risposte: 1 |
| Conta le celle colorate / migliore peggiore Autore: raimea |
Forum: Applicazioni Office Windows Risposte: 8 |
Visitano il forum: Nessuno e 22 ospiti