Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / October 2006

Tip: Looking for answers? Try searching our database.

Numbering of MACROBUTTON heading is lost in table of contents

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 29 Oct 2006 15:34 GMT
I wrote a macro that helps me to create cross references based on
captions just be click on the numbering field.

I put the following commands in the Word document:

              {MACROBUTTON  Macro_Ref  Figure {SEQ Figure \* ARABIC}}:
Description of the figure

In the word document this command is displayed as:

            Figure 1: Description of the figure

That's correct and the Macro works also fine. In the table of
contents menu (figure selection) the number is not displayed.  There
are only the following words shown:

          : Description of the figure

What can I do that the numbering within in a MACROBUTTON-command is
also added to the caption field?
Stefan Blom - 30 Oct 2006 10:28 GMT
What TOC field code are you using? Here, on a Word 2000 system,
{ TOC \c "Figure" } seems to correctly "see" the SEQ fields from
within the MACROBUTTON fields, as long as I set a starting number for
the first SEQ field (using the \r switch). Does that not work for you?

Signature

Stefan Blom
Microsoft Word MVP

> I wrote a macro that helps me to create cross references based on
> captions just be click on the numbering field.
[quoted text clipped - 16 lines]
> What can I do that the numbering within in a MACROBUTTON-command is
> also added to the caption field?
John - 30 Oct 2006 17:55 GMT
Hi,
I thing, that the description of my problem was not totally clear.

I wrote a macro that looks up in the cross-reference table, not the
table of contents,
(menu: insert-> reference -> cross-reference) for the selected
paragraph.
In this table the words which are written within the
MACROBUTTON-command are not included.

I tried to use this macro also for numbering of formulas (e.g. (3.10)).
In this case in the cross-reference table is empty.
Stefan Blom - 31 Oct 2006 14:54 GMT
If the problem is with the macro, you had better ask in a programming
newsgroup, and give examples of your code.

Signature

Stefan Blom
Microsoft Word MVP

> Hi,
> I thing, that the description of my problem was not totally clear.
[quoted text clipped - 8 lines]
> I tried to use this macro also for numbering of formulas (e.g. (3.10)).
> In this case in the cross-reference table is empty.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.