Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Navigating logical table rows
I use Word 2003 SP1 on Windows XP Professional SP2.
I am very new to VBA programming and usually produce code by recording a macro and seeing what is done. I have a document which consists of one table. The table consists of "logical" rows. A "logical" row is either a single physical row as in: R1C1 R1C2 R1C3 R1C4 ... or a multiple physical row R1C1 R1C2 R1C3 R1C4 ... R2C3 R2C4 ... R3C3 R3C4 ... I want to pad some logical rows identified by find.execute as in R1C1 R1C2 find R1C4 ... or R1C1 R1C2 R1C3 R1C4 ... R2C3 find ... R3C3 R3C4 ... with bottom padding as in: R1C1 R1C2 find R1C4 ... botm botm botm botm ... or R1C1 R1C2 R1C3 R1C4 ... R2C3 find ... R3C3 R3C4 ... botm botm ... The last row happens to be of the form R1C1 R1C2 find R1C4 ... and a found cell can be anywhere in a logical row. I have struggled without success to identify the relevant physical rows. Incidentally, I was surprised to find that, at the last cell on the last row, Selection.MoveRight Unit:=wdCell (which the Tab key maps to) causes a new empty row to be appended.) I do not find this described in the help for MoveRight. I also have not found a key or a function which causes a Selection to be closed as a mouse click outside the selection would do. If this is not an appropriate group, I apologise for not kibitzing for long enough and would value suggestions of a better one. I would also value pointers to any good tutorials on table navigation. -- Walter Briscoe |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Logical criteria in query option | Mailmerge | |||
How do I repeat table header rows when the table has section break | Tables | |||
repeat header rows of a table when the table has section breaks | Tables | |||
adjustment of space of the tabulations and far from being logical | Microsoft Word Help | |||
how do you add graphics to a label? the logical is not working | Mailmerge |