![]() |
|
#1
|
||||
|
||||
![]() Quote:
Of course, they can contain characters that in other context might equate to code. For example, if you post a Word macro into Notepad, it's just text. If you then copy the same text back to a Word VBA module, it'll function as a macro again. Similarly, if I type something like the following into Notepad and save it, then copy the file to a postscript printer, it will execute a series of postscript commands: %!PS-Adobe-2.0 /Lsize 1 def /Left .5 def /Right .5 def /Top .5 def /Bottom .5 def /BeginX Left 72 mul def /BeginY 11 Top sub 72 mul def /WidthBox 8.5 Right sub Left sub 72 mul def /HeightBox 11 Top sub Bottom sub 72 mul def Lsize setlinewidth BeginX BeginY moveto WidthBox 0 rlineto 0 HeightBox neg rlineto WidthBox neg 0 rlineto closepath stroke The same applies to a Notepad file to which I add come content that Internet Explorer can process as HTML code. For all that, the Notepad file is still only a plain text file. It has no 'code' as such - only plain text. It would help if you could clarify what you mean by "I've had an issue & the code still carried over". What 'code'? The only other possibility, which I think is altogether more likely, is that you copied & pasted something into Notepad, then pasted the same copy (without re-copying from Notepad) into something else. In that case, formatting, 'code', etc., could indeed carry over, since what is on the clipboard is whatever you originally copied, not the text that was pasted into Notepad.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Web Mail (OWA) - sending email removes html and images | mvrk | Outlook | 0 | 07-30-2013 03:56 AM |
![]() |
Grahamers | Word | 1 | 05-13-2013 04:42 PM |
![]() |
martinn4 | Word | 5 | 02-05-2013 01:56 PM |
PowerPoint removes urlencoding on links | kamcknig | PowerPoint | 0 | 08-10-2011 08:50 AM |
![]() |
masa57 | Word VBA | 2 | 05-08-2010 07:34 AM |