Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Truescot Truescot is offline
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.word.tables
Jezebel Jezebel is offline
external usenet poster
 
Posts: 1,384
Default 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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
linking and sequential numbering of tables xppuser Tables 26 July 13th 06 01:52 PM
Change paper size; Word changes to invalid margins OhioTech New Users 10 July 6th 06 02:00 PM
Word & WordPerfect MrsMac Microsoft Word Help 5 June 10th 06 03:14 AM
Word should allow to 'divide' page by 3 or 4, not just 2 CandasK Page Layout 2 February 28th 06 11:16 PM


All times are GMT +1. The time now is 12:09 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"