As i know u can't launch partial reaload in AJAX client, can u plz comment, how did u do that?
In ur case u can use this macro, if u have ur given array of bookmark ID:
sub run2 bookmarks = ActiveDocument.GetDocBookmarkNames dim BM for i = lbound(bookmarks) to ubound(bookmarks) if(i=0) then BM="'"&bookmarks(i)&"'" else BM=BM&",'"&bookmarks(i)&"'" end if next set v = ActiveDocument.GetVariable("vBMName") v.SetContent BM,true
P.S. My goal is opposite, i need to get bookmark id by bookmark name