Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-12-2016, 12:47 AM
Marco Marco is offline table and code accidentally working only on odd rows Windows Vista table and code accidentally working only on odd rows Office 2007
Novice
table and code accidentally working only on odd rows
 
Join Date: Apr 2015
Posts: 15
Marco is on a distinguished road
Default

OK (and so I learned how to use the immediate window )

So, the code reads the broken word as being in the same line, and this happens for all paragraphs in each even row, and VBA will read any line in that cell as line 6.

On the other hand, if I select the word "bbb..bb" and open the statistic window, it correctly reads it as two lines.

Anyway, I realise now that what I have is not a table with three rows, but three tables aligned one next the other: this is unnecessary and for sure solving it will solve the bug.
In fact, if you
- set the document to one column
- add two rows to table one
- past there the others two tables and run the code, you get the correct result.

So the final question is: how to get a Mail Merge file that rather than repeating n times my table, will add rows to it (one rows for each record to merge)?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
table and code accidentally working only on odd rows I want to add multiple rows into my document but I can not figure out the code jlw15931 Mail Merge 1 02-24-2015 05:03 AM
table and code accidentally working only on odd rows Header Rows in Tables Not Working Andy Pilkington Word 2 10-10-2014 12:36 AM
table and code accidentally working only on odd rows Is it possible to copy non-contiguous rows of a Table and paste them as a separate Table in Word? Joey Cheung Word Tables 1 08-12-2014 05:15 PM
table and code accidentally working only on odd rows VBA Code to take data from a table in word document and place it in a summary table VBLearner Word VBA 1 03-09-2014 08:42 PM
table and code accidentally working only on odd rows Grouping table rows to prevent individual rows from breaking across pages dennist77 Word 1 10-29-2013 11:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft