Results 1 to 8 of 8

Thread: Article: Break All Links In An Excel Workbook

  1. #1
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,195
    Articles
    57
    Blog Entries
    14

    Article: Break All Links In An Excel Workbook



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  2. #2
    Thanks Ken - great concept
    When I added the module, it stopped at the "If vLinks =" row. When I deleted the row, the macro ran well (in Excel 2010 on an 8/64 notebook).

    Much needed! I hope MS has included it in Excel 2013, but I very much doubt it! Thanks again!
    Jon

  3. #3
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,195
    Articles
    57
    Blog Entries
    14
    Hi Jon,

    That's interesting. I just tried this in Excel 2010 and Excel 2013 and it worked with a straight copy and run. Not sure why it would be failing on that line for you... you are calling it from Excel I assume. Do you have any references listed as Missing in Tools-->References in the VBE?

  4. #4
    G'day Ken - only top 4 references in VBE are ticked - VB for applications, MS14 object library, OLE automation and Office 14 object library. Are any others needed? Jon

  5. #5
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,195
    Articles
    57
    Blog Entries
    14
    No, shouldn't be. I was more concerned that there might be one actually listed as "Missing" in that list. I'm not sure what to suggest, as it seems to work as advertised here. Do you have any add-ins or COM add-ins installed? I wonder if one of them may be interfering...
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  6. #6
    No Add-ins visible. I did disable Zeon as it was interfering with PaperPort I think. Because I upgraded to Win8, maybe something carried over from prior installation of Office. I do also have several Office 2003 programs installed (Access, Visio, Project) and also Photodraw 2000. Anyway, it's not a big problem, as it works fine with the row deleted. Presumably the row is only needed if you try to run the macro on a file with no external links, when it would continue. Even this I doubt would cause problems.

  7. #7
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,195
    Articles
    57
    Blog Entries
    14
    It's very odd. I haven't tested anything on Win8 yet though. I guess that, as long as it's working it's all good, but it's still weird.
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  8. #8
    Let me know how you go on Win8 - surprised if that makes any difference. BTW I have now got Win8 working better than 7 (after 2 weeks), using the Win8 desktop for >99% of my work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •