Page 1 of 1

pasting php in microsoft word

Posted: Sat Apr 16, 2005 6:10 pm
by dannymc1983
anyone know of a way of pasting php code into microsoft word so that it appears as the way it does in the php tags? im writing code in dreamweaver which appears in this format but if i try copy and paste it directly into word it just appears as normal black font without all the nice colours and all the formatting is messed up which is pretty annoying. i suppose i could do a screenshot of the code and save it as an image file and insert this into word but id like to keep the code as text format in word. anyone have a better idea?

Posted: Sat Apr 16, 2005 6:45 pm
by feyd
potentially, you could have php highlight the file, then possibly get word to read the html correctly... only other stuff I can think of is a pain (COM)