SAP Knowledge Base Article - Preview

2261978 - Cannot change bookmarks in MS Word 2013 document - SAP PB 12.5.2


  • A PowerBuilder 12.5.2 application uses OLE automation to resolve bookmarks in a DOC or DOCX document or template. This has worked well under MS Word 2007. 
  • Using PowerBuilder 12.5.2 and MS Word 2013, there are errors and no data resolves to the bookmark.
  • Error occurs at line with this code:

lole_word.activedocument.bookmarks.item (ls_tag_name).range.text = ls_tag_value



  • SAP PowerBuilder (PB) 12.5.2
  • Microsoft Word 2007
  • Microsoft Word 2013


SAP PowerBuilder 12.5 ; SAP PowerBuilder 12.6


word,2007,2013,bookmarks,oleobject, ole,template,doc,docx , KBA , BC-SYB-PB , PowerBuilder , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.