Moderatori: Anthony47, Flash30005
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
Sheets(Range("C16").value).Select
End Sub
A questo punto se io ho bisogno di un bottone al posto della descrizione "OK" con il collegamento, non mi funziona.
Se creo 2 o piu' collegamenti mi mandano tutti allo stesso posto e cioè al mese che mi trovo evidenziato in quel momento nella lista
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
If Target.SubAddress <> "Foglio1!AZ23" Then Exit Sub '<<<< Aggiunta
Sheets(Range("G10").Value).Select
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim file As String
file = Range("n29").Value
If Not Intersect(Target, Range("n29")) Is Nothing Then
Workbooks.Open (file)
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim myPath As String
Dim est As String
Dim file As String
myPath = "C:\TuaDirectory\" ' <===== Da modificare
est = ".xlsx" ' <===== 'da modificare
file = myPath & Range("n29").Value & est
If Not Intersect(Target, Range("n29")) Is Nothing Then
Workbooks.Open (file)
End If
End Sub
Torna a Applicazioni Office Windows
File batch per copiare file selezionato da menu contestuale Autore: valle1975 |
Forum: Programmazione Risposte: 3 |
Aggiungere menù a tendina da lista variabile Autore: systemcrack |
Forum: Applicazioni Office Windows Risposte: 17 |
Menu a tendina che non mi seleziona una provincia Autore: danibi60 |
Forum: Applicazioni Office Windows Risposte: 6 |
Visitano il forum: Marius44 e 14 ospiti