We help IT Professionals succeed at work.
Get Started

Adding Tables to Word

115 Views
Last Modified: 2016-02-11
I am trying to get tables to add into a word document and do not know how to do it, I have pasted the information below and attached the word document so that you can see the actual tables.  

I  need to create two macros and/or non- printing command buttons, one to add  new topic title tables

(This is the Topic Title Table)  each time a new topic title is added it would need to appear on the next blank page.  A page break would need to be written in the command
2.      Click here to enter Topic Title

and one that would add the section title table (this table’s numbering convention would need to follow that of the topic title section above it (ie when topic title table:2 is added all section tables inserted beneath it would follow the 2.1, 2.2, 2.3 etc  numbering and when topic title table 3 is added the sections tables beneath it would follow the 3.1, 3.2, 3.3 etc. numbering convention. (there is a potential for several section title tables to be under each topic title table).

2.1      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
(this is the Section Title Table)

When a new Topic title table is added it needs to start on the next available page number.  A simple page break in the code should work


On my template I am going to have the topic title and one section on it.

2.      Click here to enter Topic Title
2.1      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      



Below is what an example of what I am trying to accomplish, this is the topic title table added and 5 section title tables added followed by another topic title table with three title tables added.

2.      Click here to enter Topic Title
2.1      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
2.2      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
2.3      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
2.4      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
2.5      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      



3      Click here to enter Topic Title
3.1      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
3.2      "[Click here to enter Section Title]"

      
      "[Click here to enter Section Text]"

      
3.3      "[Click here to enter Section Title]"

      



I was also hoping to get the topic titles, section number and associated page numbers to auto insert to a table of contents on the first page of the document, is that possible?

Topic      Page
2.      Click here to enter topic title.
Pg Number.

3.      Click here to enter topic title
Pg Number.

4.      Click here to enter topic title
Pg Number



The table on the front would have to add a row if additional Topic Title sections were added.
Inserting-Tables-into-Word-Help-Needed.d
Comment
Watch Question
Retired
CERTIFIED EXPERT
Top Expert 2012
Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE