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:
- start recording new macro.
- paste text.
- select pasted text.
- set formatting (font, size, color) require.
- stop recording macro.
- borrow heavily auto-generated selection , formatting code of new macro use in original macro.
Comments
Post a Comment