+ Reply to Thread
Results 1 to 2 of 2

VBA - Restart a Numbered list in a word table from Excel

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    6

    VBA - Restart a Numbered list in a word table from Excel

    Hello everyone,

    I am currently working on a project to create a standard "Contract Maker", the user enter data in a form, and then it generates a list of clauses useful and pre-written for the contract on several different Worksheet (cell (A1) = Clause Name B1=Clause) in excel. Once all clauses are generated I created a Macro to extract these clauses from Excel to Word under different tables (1 Table = 1 Worksheet). As a result I have several tables with all clauses and everything is working fine. However I am struggling on the formatting of my Numbered List.

    On several cells of my Word Table just after the importation from Excel I have number as follows (Text format):
    1.
    2.
    3.

    Thanks to the code bellow, those numbers become formatted as a Numbered List
    However instead of starting from 1. on each Cell (1.,2.,3. other cell 1.,2.,3.) it continues the numbering (1. 2. 3., other cell 4.,5.,6.).

    Do you know how to restart the numbering on each Cell ?

    Thank you for you help in advance !
    Julien

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    04-28-2014
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: VBA - Restart a Numbered list in a word table from Excel

    I though about adding a Field (LISTNUM) after the end of each Cell with the code below.
    It works but a "0." appears at the end of each Cell text which is not what I want

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Numbered Word list into Excel
    By roo72 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2014, 04:45 PM
  2. Combine cells of portions of a numbered list into a continous numbered list
    By AusTempest in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2014, 01:55 AM
  3. Word Numbered List to Excel?
    By mazingerZ in forum Excel General
    Replies: 4
    Last Post: 09-20-2009, 09:58 PM
  4. how do i create a customised numbered list in excel
    By Franw in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-18-2006, 01:30 AM
  5. Replies: 1
    Last Post: 11-28-2005, 11:20 PM

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