Share via

How insert formatted-text to FIELD at one time?

combachi 1 Reputation point
2021-06-21T09:59:49.673+00:00

Hello.

I make WORD addin.
my program insert FIELDs into WORD.
but, it is so long-time spend.

currently i try below.

  • insert new FIELD to WORD.
  • insert text to FIELD.
  • while( bold need) { Word.ActiveDocument.select; Word.ActiveDocument.Selection.Font.Bold := True; }
  • while( italic need) { Word.ActiveDocument.select; Word.ActiveDocument.Selection.Font.Italic := True; }
  • ..... (control for each formats).....

i must more fast processing need.
another program - like ENDNOTE look like just one time insert.

How can i insert formatted text to Field? or... How can i more speed up my work?

Thanks.

Microsoft 365 and Office | Development | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. lindalu-MSFT 161 Reputation points Microsoft Employee Moderator
    2021-06-21T23:13:08.937+00:00

    @Abid Rahman Can you help this customer?

    0 comments No comments

Your answer

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