S
sean_n
The following jscript code will create a word doc with "hello world"
and draw a border around it (looks like a box around the words).
word=WScript.CreateObject("Word.Application");
word.visible = true;
doc = word.documents.Add();
word.selection.typetext("hello world");
b = word.selection.borders;
b.enable = true;
Instead of drawing a box all the way around the words, I just want the
bottom border drawn. Any suggestions?
and draw a border around it (looks like a box around the words).
word=WScript.CreateObject("Word.Application");
word.visible = true;
doc = word.documents.Add();
word.selection.typetext("hello world");
b = word.selection.borders;
b.enable = true;
Instead of drawing a box all the way around the words, I just want the
bottom border drawn. Any suggestions?