ID: Q113286
6.00 6.00a | 6.00 6.0.1
WINDOWS
kbusage kbmacro
The information in this article applies to:
The "Microsoft Word Developer's Kit" incorrectly states on page 667 that the SelInfo() function can return only 32 types of information on the current selection. As stated (correctly) in Word Help, SelInfo() can actually return 36 types of information.
The "Microsoft Word Developer's Kit" explains the first 32 types of information available for the SelInfo() function, but it does not mention options 33 through 36.
Options 33 through 36 are described in Help as follows:
Type Explanation
---- -----------
33 The kind of header or footer containing the selection:
-1 None (the selection is not in a header or footer)
0 (zero) Even-page header
1 Odd-page header (or the only header if there are not odd
and even headers)
2 Even-page footer
3 Odd-page footer (or the only footer if there are not odd
and even footers)
4 First-page header
5 First-page footer
34 Returns -1 if the active document is a master document (that is,
if it contains at least one subdocument).
35 Returns -1 if the selection is in the footnote pane or in a
footnote in page layout view.
36 Same as 35, but for endnotes.
"Microsoft Word Developer's Kit," pages 667-70
Microsoft Word 6.0 for Windows Help, "WordBasic Programming Language" topic, "SellInfo()" function
Kbcategory: kbusage kbmacro KBSubcategory: Additional reference words: 6.00 6.00a macros functions wdk word6 macword 6.0.1 winword
Version : 6.00 6.00a | 6.00 6.0.1
Platform : WINDOWS
Last Reviewed: August 4, 1997