I have a legacy Word template that has a significant amount of VBA code in it. When this code is executed from a PC that has Office 2003 installed it works with no problems. If I execute the same code on a PC that has Office 2007 installed, the Word application
This is an example of the code that works in Word 2003 but causes Word 2007 to crash
Dim ms AS String
Dim ms2 AS String
Dim ms3 AS String
Note that the only change was dimensioning the ms3 variable to a variant from a String. Is there a bug in the way that Word 2007 now handles the call for adding a hyperlink with the TextToDisplay parameter?
It is not difficult to correct this in the template, but it now makes me wonder what other changes happened in Word 2007 VBA that I am not aware of hat will cause similar errors. THe hard crash of Word is really a problem.