If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
word table names in vba
i am trying to find out the names of tables in my word document so that i can
select them in vba, i cannot find this anywhere same with text boxes, i was abl to find the text box names by creating a text box, recording a macro then selecting the table and moving it then i got the textbox name in the macro code usually something like "text box 501" however this trick does not work with tables, any help would be appreciated |
#2
|
|||
|
|||
word table names in vba
Tables don't have names. You can refer to tables from VBA by index number
(they number sequentially from start of document); or in several other ways depending on what you're trying to do. BTW, you can assign your own names to textboxes. "Truescot" wrote in message ... i am trying to find out the names of tables in my word document so that i can select them in vba, i cannot find this anywhere same with text boxes, i was abl to find the text box names by creating a text box, recording a macro then selecting the table and moving it then i got the textbox name in the macro code usually something like "text box 501" however this trick does not work with tables, any help would be appreciated |
Thread Tools | |
Display Modes | |
|
|