I read your article on "Creating Word Documents on the Fly" and modified it greatly for my uses - but a great start. The one thing I can't figure out is how to set a certain bookmark to a hyperlink nstead of plain text.
The article is here:
http://www.phpbuilder.com/columns/yunus20031124.php3
the pertinent code is:
$bookmarkname = "TODAYDATE";
$objBookmark = $word->ActiveDocument->Bookmarks($bookmarkname);
$range = $objBookmark->Range;
//6. now substitute the bookmark with actual value
$range->Text = $current_date;
To me the obvious, changing "Text" to "Hyperlink" does bubcus... (not a supprise) and I am so lost on deciphering MS COM and applying it here.
Thanks for your help
Scott