Word.InsertLocation.Replace is not working for content control

Ravi Kumar 21 Reputation points
2020-11-23T03:48:58.963+00:00

contentcontrol.inserttext("text", Word.InsertLocation.Replace) not working fine it always concatenate the string in the start ideally it should replace the old text inside the content control with the new text. Is there any other work-around to replace the text inside a content control. (specially for windows)

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,090 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,641 Reputation points
    2020-11-23T07:23:38.303+00:00

    @Ravi Kumar
    We are mainly responsible for general issues of Office desktop applications, but your question seems to be more related to code, which is not supported on Q&A forum.

    To better help you, I would suggest you post the question on the following forums.
    Office developer community
    Office 365 Developer group community

    Thanks for your understanding.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.