A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

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.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

word table names in vba



 
 
Thread Tools Display Modes
  #1  
Old November 29th 06, 04:20 PM posted to microsoft.public.word.tables
Truescot
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

Ads
  #2  
Old December 1st 06, 02:57 AM posted to microsoft.public.word.tables
Jezebel
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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 10:16 PM
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 21 October 24th 05 09:49 PM


All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2004-2014 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.