C
charlie.planetxsolutions
hi there,
i realize that word 2007 deals with document properties entirely differently.
i have a macro in use that downloads word 2003 documents and based on a
specific document property does some work.
the macro that is saved as a global file in the startup directory does this
fine:
iButton = WordBasic.MsgBox("found '" +
UCase(WordBasic.[LTrim$](WordBasic.[RTrim$](WordBasic.[GetDocumentProperty$]("Title")))) + "'", "Tantalis Document Generator", 0)
but if i copy this macro to a docm or doc file then it throws a 51 'internal
error'.
i'm trying to figure out a way where i can send a client a macro copy with
debug to see why they are having problems. how does one access document
properties of 2003 documents from 2007?
i realize that word 2007 deals with document properties entirely differently.
i have a macro in use that downloads word 2003 documents and based on a
specific document property does some work.
the macro that is saved as a global file in the startup directory does this
fine:
iButton = WordBasic.MsgBox("found '" +
UCase(WordBasic.[LTrim$](WordBasic.[RTrim$](WordBasic.[GetDocumentProperty$]("Title")))) + "'", "Tantalis Document Generator", 0)
but if i copy this macro to a docm or doc file then it throws a 51 'internal
error'.
i'm trying to figure out a way where i can send a client a macro copy with
debug to see why they are having problems. how does one access document
properties of 2003 documents from 2007?