E
E
e1s2016-03-14 09:14:21
Visual Basic
e1s, 2016-03-14 09:14:21

How to create a word table using VBScript?

Is it possible using VBscript to copy a row of a table that already exists in a document as many times as necessary? I suppose that it is possible to do it through Bookmarks, they put the bookmark completely on the line of the table, including the end of the line character, but I don’t understand what to do next.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rosperitus, 2016-03-14
@rosperitus

Select the row (in the example, select row 1 from table 1), copy and paste

ActiveDocument.Tables(1).Rows(1).Select
Selection.Copy
Selection.Paste

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question