View Single Post
 
Old 08-11-2016, 05:15 PM
Marco Marco is offline Windows Vista Office 2007
Novice
 
Join Date: Apr 2015
Posts: 15
Marco is on a distinguished road
Default

Greg, thanks for the assistance.

Consider me more than a newbie Word VBA. I put together this code long ago after saeveral attempts of (intelligent ) copying & editing and from various web sources.
It is applied by AutoOpen to a table created by mailmerge from a Access file.

I just realised the following (puzzling) facts:

- when applied to the table they're meant to work with, my code and your code give exactly the same result
- when applied to a new, normal table, created for test, your code works perfectly (no problem with even rows), while my code does absolutely nothing.

So the point is the structure of the file where they should be applied, obviosuly there's some big point that I'm missing.
Attached, there is my actual file (CollLabSp21mm.doc) and a testfile.doc containing a sample table originating from mailmerge.
Attached Files
File Type: docx testfile.docx (13.6 KB, 23 views)
File Type: doc CollLabSp21mm.doc (41.5 KB, 13 views)
Reply With Quote