Search notes:

Excel Object Model: workbook.breakLink

option explicit

sub main() ' {

    dim wb       as workbook : set wb = activeWorkbook
    dim linkType as long     : linkType = xlExcelLinks
    dim links    as variant  : links    = wb.linkSources(linkType)

    dim link as variant

    for each link in links

        wb.breakLink link, linkType

    next link


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

See also

The linkSources and the workbook object.
The Workbook object

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...', 1758201256, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Excel/Object-Model/Workbook/breakLink(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78