JasonEnsor
Programmer
Hi,
After reading replies to another question i posted on here i decided to use word to store my snippets of code, is it possible that when i paste the code in to a word document that it automatically colours the comments a different colour? if so how?
My thought is i could check the text and anything that starts with ' and ends with ' could be assumed to be a comment as that is what i would normally do to my VBA comments. however i wouldnt know where to start in order to do this. i know in excel that you can use Like "*@*" for email addresses but how/can i do the same in word?
Any help would be appreciated
After reading replies to another question i posted on here i decided to use word to store my snippets of code, is it possible that when i paste the code in to a word document that it automatically colours the comments a different colour? if so how?
My thought is i could check the text and anything that starts with ' and ends with ' could be assumed to be a comment as that is what i would normally do to my VBA comments. however i wouldnt know where to start in order to do this. i know in excel that you can use Like "*@*" for email addresses but how/can i do the same in word?
Any help would be appreciated