vba - Paste text into a Word Document with a specific format -


i'm working on macro i'm stuck @ point. i'm copying text 1 word document another, need text pasted in specific format, neither source formatting, or it's destination's.

is possible determine text i'll pasting, gets pasted specific font, specific size, , specific color?

the easiest way follows:

  1. start recording new macro.
  2. paste text.
  3. select pasted text.
  4. set formatting (font, size, color) require.
  5. stop recording macro.
  6. borrow heavily auto-generated selection , formatting code of new macro use in original macro.

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -