View Single Post
  #10   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Newbie Question on on tables

Yes. I have no idea how many columns you need in the table.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

wrote in message
...
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.