Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there such a thing as a "Table Format" ?

Status
Not open for further replies.

doneirik

Technical User
Nov 23, 2007
30
NL
Dear Group,

I am structuring a rather large requirement specifications document with information gathered in small tables (each entry is a separate table).

Each table has a cell with ID number, requirement text, source, reference to test etc etc.

Is there a way I can define one master table so that if I later want to change the appearance of the table, I only have to change this master table and not 1000 small tables?


hope this was well understandable...

regards
d.
 
i see...sorry for forgetting...

I am writing in MS Word 2003

d.
 
You can use Table Styles to define most aspects of table formatting - they are not perfect and they have some quirks, partly related to the use of the Normal Style, but you should be able to use them to do what you want.

Experiment with them - try a few built-in ones and if you have specific questions, come back.

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
Or, depending upon what you're looking to achieve, perhaps you should instead look into creating a database driven website? Maybe with that, you could also create the Word Docs as needed off of the website when needed for printing?

That's just a wild shot at this point. I'm sure there are some applications where that would be absolutely no good.

--

"If to err is human, then I must be some kind of human!" -Me
 
I agree with Tony (who wouldn't?). Table Styles can be useful, but they can most decidely be quirky.

However, if you did make a table style - named, say, MyTable - you can change all the tables in a document with simple code, like:
Code:
Sub ChangeAllTables()
Dim oTable As Table
For Each oTable In ActiveDocument.Tables
   oTable.Style = "MyTable"
Next
End Sub
Voila, all the tables take the format of the table style "MyTable".

I have to say though that changing the format of 1000 tables seems excessive. Why not make a decision as to the format, and stick to it?

faq219-2884

Gerry
My paintings and sculpture
 
thanks all,

I think what I would have to do is either go for a database approach, or simply to decide upon the format.

What I would like to achieve is e.g. having a table with a cell in the upper left corner with the content "Requirement ID". Then I might decide that this content should appear in the upper right corner. (not that I expect this to happen like this...)
As far as I understand, this cannot be achieved using only table styles...

regards
d.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top