Search notes:

Excel Object Model: Workbook.linkSources

workbook.linkSources(tp) returns an array that contains the names of linked documents, editions, DDE or OLE servers.
The value of tp is a member of the xlLink enumeration:
xlExcelLinks 1 The link is to a worksheet.
xlOLELinks 2 The link is to an OLE source.
xlPublishers 5 Mac only
xlSubscribers 6 Mac only
option explicit

sub main() ' {

    iterateOverLinkSources xlExcelLinks , "xlExcelLinks"
    iterateOverLinkSources xlOLELinks   , "xlOLELinks"
    iterateOverLinkSources xlPublishers , "xlPublishers"   ' Macintosh only
    iterateOverLinkSources xlSubscribers, "xlSubscribers"  ' Macintosh only

end sub ' }

sub iterateOverLinkSources(tp as long, tpTxt as string) ' {

    dim lnkSrcs as variant
    dim lnkSrc  as variant

    lnkSrcs = activeWorkbook.linkSources(tp)

    if not isEmpty(lnkSrcs) then
       debug.print tpTxt
       for each lnkSrc in lnkSrcs
           debug.print "  " & lnkSrc
       next lnkSrc
    else
       debug.print tpTxt & " is empty"
    end if

end sub ' }
Github repository about-MS-Office-object-model, path: /Excel/Workbook/linkSources.vb

See also

Data -> Queries & Connections -> Edit Links
The workbook object and its method breakLink.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758201192, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Excel/Object-Model/Workbook/linkSources(82): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78