Computing.Net > Forums > Office Software > Invisible hart on Word

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Invisible hart on Word

Reply to Message Icon

Name: ipad
Date: July 29, 2009 at 03:45:06 Pacific
OS: Windows Vista
Subcategory: General
Comment:

whenever i print my page i did on microsoft word a Chart pops up on the printed page, BUT it doesn't show this chart on the file on the computer and i dont want it there. how do i remove this invisible chart? so frustrating.



Sponsored Link
Ads by Google

Response Number 1
Name: jon_k
Date: July 29, 2009 at 04:59:32 Pacific
Reply:

It sounds like you might have a custom watermark set up. In Word 07, this in in the page layout menu on the ribbon.

On word 03, it'll be somewhere in the file/page setup options, I'd imagine


0

Response Number 2
Name: ipad
Date: July 29, 2009 at 05:18:14 Pacific
Reply:

no,

i inserted a chart before all the work i put into the document, and i thought i had deleted the chart before all the work. but it appears not and i can't find it (to select it).

hope this helps.


0

Response Number 3
Name: jon_k
Date: July 29, 2009 at 05:45:49 Pacific
Reply:

have you tried using CTRL-G and moving through the objects?


0

Response Number 4
Name: DerbyDad03
Date: July 29, 2009 at 06:33:14 Pacific
Reply:

If the chart is the only shape in your document, you could try this:

Sub DeleteChart()
   For Each s In ActiveDocument.Shapes
    s.Delete
   Next s
End Sub

If not, this should cycle through all your shapes and give you the choice to delete it or not. Maybe it can still select the chart, even if you can't see it...

Sub DeleteChart()
   For Each s In ActiveDocument.Shapes
    s.Select
     ans = MsgBox("Delete Shape?", vbYesNoCancel)
      If ans = vbYes Then s.Delete
      If ans = vbCancel Then Exit Sub
   Next s
End Sub


0

Response Number 5
Name: ipad
Date: July 29, 2009 at 07:02:04 Pacific
Reply:

sorry i dont have a clue what the above means? how do i do this?

and john, that didn't work either :(


0

Related Posts

See More



Response Number 6
Name: DerbyDad03
Date: July 29, 2009 at 07:19:54 Pacific
Reply:

What I posted were 2 VBA macros that will search your document for shapes and select/delete them.

The first will simply delete every shape, while the second will ask you each time if you want to delete it. "Yes" will delete the currently selected shape, "No" will skip to the next one and "Cancel" will stop the code and return you to Word.

For safety sake, save a copy of your original document in case things go terribly wrong.

Then, in your document, press Alt-F11 to open the VBA editor. Paste the code into the pane that opens and run it via the little green arrow or press F8 to single step through it.

To test it, I used Insert...Object...Microsoft Graph Chart to insert a few generic charts into a document. When I ran the code, it selected each chart so I know that VBA considers my charts to be "Shapes". YMMV

Good luck!


0

Response Number 7
Name: ipad
Date: July 29, 2009 at 09:08:38 Pacific
Reply:

didn't work either.

have a good few shapes in it and it deleted the first few on the page but stopped after that (didn't delete the chart).


0

Response Number 8
Name: DerbyDad03
Date: July 29, 2009 at 10:56:42 Pacific
Reply:

I PM'd an email address to you. If you can, send the file to that address and I'll take a look at it.

Delete anything I shouldn't see.

Please do not share the email address with anyone.


0

Response Number 9
Name: DerbyDad03
Date: July 31, 2009 at 06:57:51 Pacific
Reply:

Update:

The OP emailed a copy of the file and I spent some quality time with it.

To start with, I should mention that the document was an Invoice template, with a mixture of standard text, text boxes, underlined fields, drawing documents and a couple of tables.

I can't really explain what is going on with the file, but when I changed the view from Print View to Reading View, the chart showed up and could be deleted. I could also stumble upon the chart (as well as some other "hidden" objects) by randomly clicking around and waiting for box outlines to show up. The wierd part was that only the outline of a rectangle would show up - not the chart itself - and not exactly where I clicked, but above it. In other words, I was actually clicking outside of the object but it's outline showed up anyway. Once the rectangle was deleted, the chart no longer showed up on the print out. The other "hidden" objects were nothing more than empty outlines that didn't print, so I have no idea what they were.

There was also an additional request to eliminate Page 2 of the document, which was blank. I was unable to do this because of the strange conglomeration of Section Breaks and Column Breaks. Everytime I tried to delete a Break, sections of text would move around and the fields in the template got totally out of alignment. My gut tells me that the problem with the chart and other objects is also due to the sections, but I can't verify that. It's almost like the document is layered, with the objects behind what the user can see on the screen.

I don't know if the document is corrupt or just very poorly constructed, so I told the OP that she should trash it and start over.

I'd be willing to email the document to anyone who wants to take a look at it. PM an email address if you want.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Invisible hart on Word

msohelp.exe error on Word 2000 www.computing.net/answers/office/msohelpexe-error-on-word-2000/2170.html

Opening MS Word without blank doc www.computing.net/answers/office/opening-ms-word-without-blank-doc/2814.html

Word Art presets www.computing.net/answers/office/word-art-presets/2638.html