coding for table numbering and table title

D

donna

We have tables with specific header and table title. I am trying to change
table title as per our client requirements.
The situation is challenging because my Table titles are as follow
Table X Table Title
and I am trying to change it to
Table X.X Table title

I have changed the styles etc., it's just the table numbering and sentence
case for the title.

Any help. What will be the coding.
 
C

Chuck Henrich

Are your table numbers/titles in the first row of your tables? Are the
numbers and titles in separate cells in that row? When you say you've
changed the styles but you need to change the numbering, why not use outline
numbering in the style for the table title?

If you want to change the table title case, use the wdTitleSentence
constant, eg:
if you're using a selection object
Selection.Range.Case = wdTitleSentence
if you're using a range object
rngRange.Case = wdTitleSentence
 
D

donna

No table number and titles are outside the tables. I cannot make any changes
in the style as it's from our client and we cannot make any chages to it.
also my current files are in different files so, I am basically formatting
one client;s formatted file to the another through macro.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top