Keith McElroy
asked on
vb script insert table row before current row
How do I insert a row before the third row of a multi row Microsoft Word Table using VB Script (not VBA)
Here is my code and errl
dim tbl
set tbl = wd.ActiveDocument.Tables(1 )
set newrow = tbl.rows.add(3)
Error: http://www.screencast.com/t/mV9EUiu03
Here is my code and errl
dim tbl
set tbl = wd.ActiveDocument.Tables(1
set newrow = tbl.rows.add(3)
Error: http://www.screencast.com/t/mV9EUiu03
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Note that for most things, once the environment is established (Word Application object and/or Word Documentation object etc., VBScript and VBA are the same.
(Follow Bill Prew for the actual solution)
(Follow Bill Prew for the actual solution)
~bp