Question : Macro Problems Office 2010

I recently upgraded from office 2003 to office 2010 and now some of my Macros are not working.  The macros are pretty simple, all they do is paste a link to a website in the body of the an outlook email message.  When I try to run them in Office 2010 I get Run-time error '424': Object Required.  Any ideas why I am getting this error?  Did the Selection object get changed in Office 2010 and now do I need to write this function differently?  Any help would be appreciated.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
Sub InsertDictionaryPath()
    
        
    ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:= _
        "http://dictionary.reference.com/"
        

End Sub

Sub InsertThesaurusPath()
    ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:= _
        "http://thesaurus.com/"

End Sub

Answer : Macro Problems Office 2010

Personally, I would take a laptop off of your network and try activating it at home.  That will pinpoint it to be either a network problem or a problem with your key with Microsoft.
Random Solutions  
 
programming4us programming4us