Macro run error "Sub or function not defined"

  • Thread starter Thread starter Shana
  • Start date Start date
S

Shana

I have a macro I use to remove hyperlinks from documents. I've used it
several times before, but one document I have keeps throwing the "Sub or
function not defined" error message.

Is the file corrupted on some level? Or is there something I can do to "fix"
the file so that the macro will work. Believe, having to individually and
manually remove hundreds of links would be torture.

I tried copying the content into a blank Word file and trying to run the
macro, but I still received the same error message. So, it seems like it's
something within the file, not the file itself.

thx!
 
First, I'd recommend posting macro questions in the Word Programming
newsgroup as you're more likely to find an answer there. I've cross-posted my
reply to that group.

Second, without know the structure of your macro - and especially the point
in the code that it's failing - it's very difficult to determine the cause of
this problem. Please post your code.
--
Cheers!

Gordon Bentley-Mix
Word MVP

Please post all follow-ups to the newsgroup.

Read the original version of this post in the Office Discussion Groups - no
membership required!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top