Cross-Ref to Excel Chart

M

mcalex

When I insert a cross reference to the caption of a linked Excel chart, the
cross reference inserts the chart as well as 'Figure 6' or whatever. I can
delete the chart from the cross reference, but when I print the document it
comes back again.

I can't see anything in the field codes causing this, though there is a /*
MERGEFORMAT switch that I don't recognise

I have a bunch of these linked charts in the document, and not all of them
behave like this. It doesn't happen with spreadsheet data that I have linked
to the Word doc, only the charts.
 
M

mcalex

oops, probably should've asked if anyone knows how or why this happens, or of
any workarounds to prevent it.

many thanks
mcalex
 
S

Stefan Blom

Word's cross-reference feature makes use of hidden bookmarks enclosing the
cross-referenced paragraphs (or parts of those paragraphs, depending on what
you are referencing).

The likely cause for the issues you are seeing is that you have added a new
paragraph by pressing Enter at the beginning of some of the bookmarked
paragraphs. This would cause the bookmark to expand, so that it includes the
new paragraph as well as anything added to it. In the future, remember to
always add a new paragraph by pressing Enter at the *end* of a bookmarked
paragraph.

You can cut and paste the charts back in, carefully making sure to insert
paragraphs properly first.

The task will be easier if you first show nonprinting marks; you can use
Ctrl+Shift+8 (acts as a toggle).
 
M

mcalex

a-ha, so that paragraph that Word inserts between the chart and the caption
when I insert a caption serves a purpose. I didn't like the caption being
separated from the item (chart, table, whatever) and deleted it. Okies, I'll
add it back, and instead change the font for the inserted para to .5 or
something.

Many thanks Stefan
 
S

Suzanne S. Barnhill

Oops, sorry--don't know where that came from! Perhaps Graham posted in an
adjacent thread? Or just another of those increasingly frequent senior
moments?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top