Option Explicit
Sub hyperlinks_auslesen()
Dim lngI As Long 'Zähler für Schleife
Dim lngMax 'Variable für letzte gefüllte Zelle
'letzte gefüllte Zelle in Spalte 1 (=A) ermitteln
lngMax = ActiveSheet.Cells(xlLastCell, 1).End(xlUp).Row
For lngI = 1 To lngMax
'steht überhaupt etwas in der Zelle ?
If Cells(lngI, 1) > 0 Then
'hat die Zelle einen Hyperlink ?
If Cells(lngI, 1).Hyperlinks.Count > 0 Then
'schreibe Hyperlink in Spalte 2
Cells(lngI, 2) = Cells(lngI, 1).Hyperlinks(1).Address
End If
End If
Next lngI
End Sub
Hyperlilnk
maggy 19.06.2007 - 251 Hits -
hyperlink per makro auslesen
morpheus__85 09.08.2007 - 69 Hits - 2 Antworten
Hyperlink automatisch starten
kowalski1958 03.04.2008 - 190 Hits - 1 Antwort
Hyperlinks in Word "variabel" gestalten
nuocmam31 03.03.2008 - 138 Hits - 1 Antwort
Hyperlink über Bezug in einem anderen Datenblatt auslesen
SchalUndRauch 11.06.2008 - 105 Hits - 3 Antworten