View Single Post
 
Old 12-29-2010, 03:22 PM
Mark1110 Mark1110 is offline Windows XP Office 2007
Novice
 
Join Date: Dec 2010
Posts: 1
Mark1110 is on a distinguished road
Default Word Basic 2003 to Word Basic 2007 Incompatibility

Hi,

I have a macro that was written in Word Basic 2003. Our company is switching to Word 2007 and when I run the macro there are several lines of code that are broken in Word 2007 that work perfectly in Word 2003. Here are two examples:
BASICDIR$ = WordBasic.[FileNameInfo$](WordBasic.[MacroFileName$](), 5)
In Word 2003 this returns the network path of the macro that I am using (\\servername\path\). In Word 2007 I get c:\documents and settings\username\temp\. I had to get the network address another way.

WordBasic.InsertAutoText
This just doesn't work at all in Word 2007.


Is there a document that lists the commands that don't work anymore in Word 2007. How about one that shows a command in Word 2003 and its new Word 2007 command?


Thanks,


Mark
Reply With Quote