+ Reply to Thread
Results 1 to 4 of 4

Table of contents in word document

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    6

    Table of contents in word document

    Hi,

    I am looking to create table of contents in Word document from Excel vba.

    I have got the data for the TOC in a sheet.
    For e.g. A1 has "Section 1 : XYZ"
    A2 has "1.1. "ABC"

    basis the above details I want to create a TOC in word document.

    Thanks,

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Table of contents in word document

    If you're using Word's heading Styles for your headings, it's as simple as adding a Table of Contents field. If you're not Word's heading Styles for your headings, you'll have a lot more work to do.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Registered User
    Join Date
    08-29-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Table of contents in word document

    I have created the text for Table of contents in word document thru Excel vba now how do I convert the text into table of contents in word.

    Thanks for your response.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Table of contents in word document

    Please read my previous post. Since you haven't said whether you're using word's Heading Styles (which you probably should be using) and, indeed, you haven't provided any meaningful information about how your document or data are formatted, you're not giving yourself much chance of getting any help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1