View Single Post
  #9   Report Post  
Posted to microsoft.public.word.tables
[email protected] admiral_victory@iol.ie is offline
external usenet poster
 
Posts: 6
Default Newbie Question on on tables

On Tue, 5 Dec 2006 19:59:19 +0100, "Doug Robbins - Word MVP"
wrote:

Seems like you do not have the table in the document or the selection
(Cursor) in the table. The macro also assumes that the table already
contains the required number of rows.

The macro can be modified to add the necessary rows, but it would be best to
start with at least one row in the table, which would probably be a header
row anyway. That row should contain the required number of columns and
probably the columns widths adjusted to the requirements.

The following modified macro will add the necessary rows to the table
inserting the required number in the first cell of each row. Once again,
the cursor must be in the table when the macro is run.


Do you mean that to have the macro you quote create the table I
requested , it is first necessary to form a table with the initial
column headings created and THEN run the macro ?

I had assumed , in my total ignorance of macros , that your code would
have created the table from scratch without any preliminary work on
the original blank document.

I'll try this and see what happens.

B.N.