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.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,464 questions
0 comments No comments
{count} votes

1 answer

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

    @Abid Rahman Can you help this customer?

    0 comments No comments