Re: Copying text from Code module and pasting into MS Word
From: Cindy M -WordMVP- (C.Meister-C_at_hispeed.ch)
Date: 01/24/05
- Next message: Cindy M -WordMVP-: "Re: How to find programmatically Word table row height?"
- Previous message: Cindy M -WordMVP-: "Re: Code for Copying text"
- In reply to: Bill Allen: "Re: Copying text from Code module and pasting into MS Word"
- Next in thread: Bill Allen: "Re: Copying text from Code module and pasting into MS Word"
- Reply: Bill Allen: "Re: Copying text from Code module and pasting into MS Word"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 Jan 2005 16:52:12 +0100
Hi Bill,
> when you copy text from a code module in
> Excel and paste it in Word, the commented text does not remain green (or
> whatever color is set in the "options" tab)?
>
Paste it into a Word document (as I think you said somewhere): that's
correct. It will all be the same color.
If you paste it into a Word VBA module, then it will be colored (mostly red
or green, most likely).
As the others have said, the colors you see are a function of the
application window displaying the text. The formatting is not part of the
text, itself.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
- Next message: Cindy M -WordMVP-: "Re: How to find programmatically Word table row height?"
- Previous message: Cindy M -WordMVP-: "Re: Code for Copying text"
- In reply to: Bill Allen: "Re: Copying text from Code module and pasting into MS Word"
- Next in thread: Bill Allen: "Re: Copying text from Code module and pasting into MS Word"
- Reply: Bill Allen: "Re: Copying text from Code module and pasting into MS Word"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|