23. August 2007 um 18:44 #1 This seems to work to extract RTF variables from a document, but if the variable is not present, it creates an AV.TitleStr := Wp.RTFVariables.Find('Title', wpxText).Text;Is there a better way to do this?Thanks,Dale
25. August 2007 um 07:11 Offizieller Beitrag #2 Hi,Note, "Find" can return nil.TitleStr := Wp.RTFVariables.Strings['Title'].should do what you need.