View Single Post
 
Old 02-22-2014, 08:09 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,385
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Functions cannot be run on their own; they need something else (e.g. a Sub) to run them. For example, you might use:
Code:
Sub Extract_Hyperlinks
doHL
End Sub
Alternatively, if you want to be able to run your code directly, change:
Function doHL()
to:
Sub doHL()
and change:
End Function
to:
End Sub
(this latter change occurs automatically if you do the first one).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote