Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Wierd "script code" in a downloaded .doc file

17 Oct 2012   #1

Win7 Enterprise 64bit
Wierd "script code" in a downloaded .doc file

I am thoroughly stumped on this one. I have a user with a brand new, freshly installed computer running Win7 (Prof, 64bit) and Office Pro 2010 (32bit). The computer is connected to a Win2008 Active Directory with roaming profiles.

When the user downloads a report in .doc format on this computer, every table has a very odd bit of what appears to be scripting code of some type. Here is a sample:

Here is the kicker -
  1. if the user goes to another computer and downloads the .doc file, the code block is not there
  2. if another user logs onto HER computer and downloads the .doc file, the code block is not there
which tells me that the problem is NOT in the document itself, nor is there something wrong with the Office install on her computer.

My System SpecsSystem Spec
17 Oct 2012   #2

Windows 7 Ultimate x64, Windows 7 Professional x64, Windows XP x64 SP3

What are the specs of the other machine? Which service packs of Office?

Off the top of my head you're looking possibly at a failure to copy an excel table over or a vbscript/macro which hasnt/wont run.

Copy the contents from the machine that can see the code into a new .doc file, then open it on the other machine, is it still there?

Do the same the other way around
My System SpecsSystem Spec
18 Oct 2012   #3

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)

Please check if this option is activated
Word - File - Options - Advanced - Show document content (subsection) - SHOW FIELD CODES INSTEAD THEIR VALUES.

If yes, then deactivate it. Should do the trick. If negative please post back.
My System SpecsSystem Spec


 Wierd "script code" in a downloaded .doc file

Thread Tools

Similar help and support threads
Thread Forum
downloaded flv is saved as "html" and "file"
Greetings to you all, How can a downloaded flv file from youtube saved itself as either "html" or "file" and amazingly both were and still playable by VLC player but not other media players? Can anyone please help fix this issue as I need to compile these flv files onto a dvd for my relatives in...
Music, Pictures & Video
Default "Browse for file" location in web browser "choose file" box
Hi, how can I change this? Some background - this may not be the issue I need to solve at the end of the day: I believe the location is causing crashes, since I blew up lots of Library registry values (in an attempt to remove them from the OS), and I think it defaults to the library page....
IE9 error "file could not be downloaded"
Hi When I was trying to download a file in ie9, the open button did not do anything. I clicked on save as and it just said "the file could not be downloaded". This happens with any file I try to download. Windows was installed last week and the system is new. Firefox and Chrome will download...
Browsers & Mail
network error message: "Error code: 0x80070035". No file shareing help
I have had my vista pc and my windows 7 (basic) net book setup to let me share files (through an Netgear DG834PN Route) for around 18 months with no problems. However as of 3 days ago I can no longer do this and non of the network tools can fined or solve the problem. I can uses the internet...
Network & Sharing
Win7 "workstation" to WinXP "server" file copy FAIL
This is driving me bonkers and I have almost no hair left. I really hope someone can help. When I attempt to copy or move a file or folder from my Win7 box to my WinXP (SP3) media server, the operation nearly always fails. Take, for example, my trying to copy the VLC Media Player folder (704...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:48.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App