Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
How to add code Listing to Document like a picture?
Dear professionals,
Since a while, I wonder how to elegantly add Code listings into a Word 2007 document. My goal is to have a Text (Code-)block with an annotation below like I can do it with a picture and to be able to reference and automatically build an index out of it. Exactly like doint it with pictures or tables. This sounds like a usual task, but I couldn't find anything via known search engines... It would appreciate your help. Thank you! |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
How to add code Listing to Document like a picture?
Use PasteSpecial to paste the code as a picture. You may however first
need to do an ordinary paste into a document and then copy the code from the document to be able to use PasteSpecial and select the Picture format. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Xnyl" wrote in message ... Dear professionals, Since a while, I wonder how to elegantly add Code listings into a Word 2007 document. My goal is to have a Text (Code-)block with an annotation below like I can do it with a picture and to be able to reference and automatically build an index out of it. Exactly like doint it with pictures or tables. This sounds like a usual task, but I couldn't find anything via known search engines... It would appreciate your help. Thank you! |
#3
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
How to add code Listing to Document like a picture?
I have the same question.
My current approach is to put the code in a table that has only a single cell. You can color the cell to make the code stand out, and you can reference the table just as you would a picture. And you could perhaps use a Table Style to get global control of formatting, if you can figure out how Table Styles work (I couldn't, entirely) bk |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I print a listing of all WORD document titles w/i a folder? | Microsoft Word Help | |||
Word 2007 mail merge for catagory listing, not listing in the returnof the data. | Mailmerge | |||
How does one set WORD 2003 to open to the document listing? | Microsoft Word Help | |||
Listing links in document for editing | Microsoft Word Help | |||
Putting a TOC in a document with an additional listing of specific charts in the document | Microsoft Word Help |