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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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