![]() ![]() For example substituting "select (cell 3 of row 3 of mytable)" for the last line of the script produces the same error on running the script. The script inserts a 4x4 table, merges the left hand cells of rows 1 and 2 as it should, then fails with error "Microsoft Word got an error: The object you are trying to access does not exist" number -1728 from cell 1 of row 3 of table 1 of active document.Īny reference to a cell made in an Applescript after merging cells will produce the error. Merge cell (cell 1 of row 3 of mytable) with (cell 1 of row 4 of mytable) Merge cell (cell 1 of row 1 of mytable) with (cell 1 of row 2 of mytable) Multiple Tables of Contents can help navigate the large document. Set mytable to table 1 of active document For some reason, you may need to create more than one Table of Contents in a Word document. Make new table at active document with properties How do I stop a row of a table splitting over two pages in Word Click into a cell in the row Open the Layout tab under Table Tools and from the Table. ![]() Once you have merged cells in a table in Word 2008 using Applescript, any further reference to the table's cells in the script produce an error.Īs an example, open Word 2008 and run this script: ![]() Operating System: Mac OS X 10.6 (Snow Leopard) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |