![]() |
|
#1
|
|||
|
|||
![]()
I know it's not supposed to, but like I said, once it did hold the code & I was sure I had copied from notepad.
Nothing is happening now, but I have to make sure that everything is stripped b/c this is for a client, not for myself. No, wasn't copying back to Word, was copying from Word to notepad & that's it. At the time, even someone else also stated he had that problem once before. It's a glitch that happens once in a blue moon I assume, but it still happens. Anyway, I found something to strip the code. Thanks Michelle |
#2
|
||||
|
||||
![]()
As others have said, Notepad cannot produce documents that contain any code, only plain text format, so whatever you were seeing it wasn't attributable to this. If you save as plain text from Word - that is what you get.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
||||
|
||||
![]() 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 |