Skip to content

Setting placeholder text in list of tables via field code 'TOC \\h \\z \\c "Table"'  #1418

@banagale

Description

@banagale

I have a list of tables I'm populating using a field code like this:

        instrText.text = 'TOC \\h \\z \\c "Table"'  

It works well, but if there are no tables, Microsoft Word will use the placeholder text:

No table of figures entries found.

That looks a bit weird, since the heading directly above it is "List of Tables"

I tried this but it didn't take:

        instrText.text = 'TOC \\h \\z \\c "Table" \\* MERGEFORMAT \* \\z "No tables found in the document."'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions