Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2014, 07:35 PM
macropod's Avatar
macropod macropod is offline Software that removes Word code Windows 7 64bit Software that removes Word code Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by ep2002 View Post
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.
Not only isn't it supposed to, it can't. Notepad files are incapable of containing even contain text formatting, let alone coding of any kind.

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]
Reply With Quote
Reply



Similar Threads
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
Software that removes Word code Good Word-based Document Assembly Software? Grahamers Word 1 05-13-2013 04:42 PM
Software that removes Word code Problem with exporting into Word from OCR software martinn4 Word 5 02-05-2013 01:56 PM
PowerPoint removes urlencoding on links kamcknig PowerPoint 0 08-10-2011 08:50 AM
Software that removes Word code I need a macro that removes background of many tables masa57 Word VBA 2 05-08-2010 07:34 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft