ID: Q81863
The information in this article applies to:
In Microsoft Word, the WordBasic command ShowVars does not display numeric or string-array variables. It displays only single- value-numeric or string variables.
The following word Basic code segment illustrates how to view the content of an array while the macro is running.
dim num(100)
dim alpha(100)
msgbox "the cell you want to see" + Str$(num(x))
MsgBox "the cell you want to see" + alpha(x)
Where x is the number of the cell of interest. For small array it may be
feasible to use a For Next loop to view the contents of the entire
array.
This is by product design.
"Microsoft Word for Windows and OS/2 Technical Reference," page 260
"Microsoft Word for Windows User's Reference," version 1.x, pages 185-189
"Microsoft Word for Windows User's Guide," version 2.0, pages 763-792
Additional query words: macword variable variables winword winword2 word6 word7 word95
Keywords : kbmacro kbusage winword macword word6 word7 word95
Version : WINDOWS: 2.x, 6.0, 6.0a, 6.0c, 7.0; MACINTOSH: 6.x
Issue type : kbbug
Last Reviewed: February 11, 1998