#1
|
|||
|
|||
How make WORD 2007 act like Notepad
Is it possible to make WORD 2007 act like NotePad? That is, I have a lot of code I need to bring into a word processor. I want to be able to mark it and hightlight it etc. Notepad does not accomodate this well.
However, I thought that perhaps I could bring it into WORD. By default, the way I have it set up, the code does not come into WORD looking good. Not like it does in Notepad. Lines need to be able to extend far to the right and with no special formatting or extra spaces between lines. Is there a way to set some switches in WORD so that I can copy and past VBA code into it and have it look like it does when brought into Notepad? Thank you |
#2
|
|||
|
|||
Hi
You can copy code into MS Word by cutting and pasting without losing any formatting. If a code line extends beyond the page width it will wrap around to the next line. However when you copy it back into a VBA Module the wrapped code line will revert to one line in your Module. Hope this helps. Good luck. Tony(OTPM) |
#3
|
|||
|
|||
Thanks Tony,
I know I can copy it in without loosing indents etc, but I do not want it to wrap around. I want it to extend (like it would in Notepad) for as far as the line goes. And what's more, I don't want word to apply any special formatting like extra lines between rows etc. I would like for it to come into word looking the same way it does when it comes in Notepad; i.e., except for indents, no special formatting (extra lines) and line extended (no wrap around) |
#4
|
|||
|
|||
Hi
If this is what you need then why do you not just use Notepad? Tony(OTPM) |
#5
|
|||
|
|||
I want to be able to mark it and hightlight it etc. Notepad does not accomodate this well.
|
#6
|
|||
|
|||
Hi
Now I understand Therefore I suggest you set-up a new template with a custom size page as wide as you want it. When you then paste your code it will paste exactly as it appears in a module. Hope this helps. Good luck. Tony(OTPM) |
#7
|
|||
|
|||
Thank you
Best Regards Woody |
Tags |
notepad |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to make Word link to the last record in Excel | stephen_pen | Word | 0 | 09-22-2011 11:00 PM |
Need to make sure all images are 300+ dpi in word document | Ralph | Drawing and Graphics | 3 | 08-20-2011 03:57 AM |
How to make Word NOT ConfirmConversion with VBA | Joe Patrick | Word VBA | 6 | 07-24-2011 06:12 AM |
How do I make a check box in a text box in Word? | VSCD | Word | 2 | 06-15-2011 10:09 AM |
Help - Word adds secret code? Copy to notepad? | andytaylor2006 | Word | 0 | 12-15-2006 11:00 PM |