Unfortunately there is no way to create one "object" in Access or Word
and share it in both environments. There is a way to create an
"object" and share it between two Access projects (this is called an
add-in or .mda), but not between Access and Word.
The closest thing you can do is create one "code library" as a text
file, and import it in both environments. In the VBA editor right
click a code module and use the Import File and Export File options.
As Jeff hinted at, you can only use features that are common to both,
or your code will not compile.
You could create a COM DLL in Visual Basic 6, or a .NET DLL using VSTO
and Visual Studio. Both could be used from Access and Word.
-Tom.
Microsoft Access MVP