Adding Custom AutoText for MS Word

I need to know how to add a custom dynamic Autotext entry for Microsoft Word. I want to be able to Insert> Autotext> Header> "Last Friday" and have the last Friday date displayed in place and update it like inserting Autotext Date updates every time the document is opened.

I have the VB code needed to calculate the date last Friday and am returning it as a String, but I am having a hard time finding how to link the function's output to the new Autotext entry.

It would also be convenient to add a custom entry to the Insert> Field list.

0


source to share


1 answer


There is another thread here.

http://www.tech-archive.net/Archive/Word/microsoft.public.word.vba.beginners/2007-02/msg00050.html



This may have a solution for you.

+1


source







All Articles