tag:blogger.com,1999:blog-284600789737488130.post1610032345734731799..comments2024-02-07T02:22:20.642-05:00Comments on Ruby on Windows: Ruby & Word: Inserting TablesDavid Mullethttp://www.blogger.com/profile/05597492688893461137noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-284600789737488130.post-57815935413025641362015-01-22T20:18:40.240-05:002015-01-22T20:18:40.240-05:00Is there a way to merge cells in a column?Is there a way to merge cells in a column?Anonymoushttps://www.blogger.com/profile/08954376609698100905noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-62188260496439084562014-03-08T04:34:37.886-05:002014-03-08T04:34:37.886-05:00I got to know, how to create a table.Can you pleas...I got to know, how to create a table.Can you please let me know hoe to prints contents of table present in a word file.Anonymoushttps://www.blogger.com/profile/08414036885055586860noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-89913849970016585702012-03-15T20:23:25.073-05:002012-03-15T20:23:25.073-05:00Erock:
To add a second table at the end of the do...Erock:<br /><br />To add a second table at the end of the document...<br /><br /># Insert a paragraph break at end of document:<br />doc.Range.InsertParagraphAfter<br /><br /># Move to the new endpoint of the document:<br />word.Selection.EndKey(6)<br /><br /># Add your new table, using the Tables.Add() method, as before:<br />table2 = doc.Tables.Add(word.Selection.Range, 1, 3)David Mullethttps://www.blogger.com/profile/05597492688893461137noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-56697372307206879712012-03-15T17:03:23.549-05:002012-03-15T17:03:23.549-05:00How do you add another table to the same document?...How do you add another table to the same document?Erockhttps://www.blogger.com/profile/00174388332133201812noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-46130073420186919352011-12-14T21:44:31.787-05:002011-12-14T21:44:31.787-05:00@Nadine:
Call the Delete() method on the table ob...@Nadine:<br /><br />Call the Delete() method on the table object. So, for example, where doc is your Document object, to delete the first table:<br /><br /> doc.Tables(1).Delete()<br /><br />Note that the Tables collection has a 1-based (not zero-based) index.<br /><br />-DavidDavid Mullethttps://www.blogger.com/profile/05597492688893461137noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-65939780332404177042011-12-14T10:02:59.003-05:002011-12-14T10:02:59.003-05:00Does anyone know how to delete a table again? e.g ...Does anyone know how to delete a table again? e.g the first table in the document.<br /><br />NadineAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-48196921415148409942010-04-21T04:36:58.263-05:002010-04-21T04:36:58.263-05:00Looks Good.
I wanna know how to adddborder to the ...Looks Good.<br />I wanna know how to adddborder to the table??<br /><br />AshishAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-87864767907278477192009-07-08T11:51:51.335-05:002009-07-08T11:51:51.335-05:00Cool
I love those weekly hints :DCool<br /><br />I love those weekly hints :Dshevyhttps://www.blogger.com/profile/09636171104216432368noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-26559755320389527132009-06-27T11:03:16.663-05:002009-06-27T11:03:16.663-05:00Thank you very much, Ian!
DavidThank you very much, Ian!<br /><br />DavidDavid Mullethttps://www.blogger.com/profile/05597492688893461137noreply@blogger.comtag:blogger.com,1999:blog-284600789737488130.post-41261765218141083432009-06-27T09:18:32.388-05:002009-06-27T09:18:32.388-05:00David,
These tips on Word and Excel are great val...David,<br /><br />These tips on Word and Excel are great value. They've saved me many an hour of experimentation. Thank you.<br /><br />Ian.Anonymousnoreply@blogger.com