Hello Robles74,
This macro will list the URL for tab open in Internet Explorer starting at cell "A2" on "Sheet2". You can change the sheet and cell to where you want the output.
Sub ListURLs()
Dim n As Variant
Dim oShell As Object
Dim Rng As Range
Dim Wks As Worksheet
Set Wks = Worksheets("Sheet2")
Set Rng = Wks.Range("A2")
Set oShell = CreateObject("Shell.Application")
For n = 0 To oShell.Windows.Count - 1
If oShell.Windows(n).Name = "Internet Explorer" Then
Rng.Offset(n, 0).Value = oShell.Windows(n).LocationURL
End If
Next n
End Sub
Bookmarks