AppleScript to run VB in Word


I don’t know anyhing about Applescript, I’m just using the Script Editor.
Can someone help me nonetheless with the following problem? Thanks:

I made the following script with the Editor which assigns a language (here French) to a entire MS Word file:

tell application “Word”
do Visual Basic " Selection.WholeStory"
do Visual Basic " Selection.LanguageID = wdFrench"
end tell

Now I’d like to make it applicable to all MS Office apps. (I guess it wont’ work with non MS apps because it uses VB).

Anybody any idea?

Don’t know if this will work, but why dont you just save it as a .app file? It never has really worked for me when i’ve tried it, so dont get your hopes up O.o