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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -