Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

VBA Help!!!

Options
  • 10-11-2006 12:52pm
    #1
    Closed Accounts Posts: 305 ✭✭


    Hi,

    I'm trying to write a VBA macro that edits all the hyperlinks in a word document. I think the problem I'm having is caused by it attempting to edit the hyperlinks contained in the contents index present in the documents. Does anyone know how to make it skip these links?

    Cheers.


Comments

  • Registered Users Posts: 2,931 ✭✭✭Ginger


    Straight up..

    Use On Error Resume Next

    Then check for error and if there is one caused by invalid hyperlinks err.clear .. should work then.. not the most effecient but its a hack


Advertisement