f$Word: Table of contents
f$Word: Table of contents
Update the table of contents of the current Word document. This function only has to be called if the table of contents is needed before the command f$Word: End. When using f$Word: End the table of contents is updated automatically.
Syntax: | Status = f$Word('Table of content','','') | ||
| Argument | Type | Meaning |
| Table of contents | String | Keyword |
| '' | String | '' |
| '' | String | '' |
Result: | Integer | 0: Command successfully executed -1: Word is not active.. | |
Example: | Status = f$Word('Table of content','','') | ||