Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-29-2013, 09:23 PM
macropod's Avatar
macropod macropod is offline Count rows and add blank rows accordingly Windows 7 64bit Count rows and add blank rows accordingly Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default


You could simply replace:
.Rows.Add
with something like:
Code:
                While .Rows.Count < 20
                  .Rows.Add
                Wend
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
PPS: You should declare all variables before using them - your oPara variable is undeclared and should be decalred as 'Dim oPara As Paragraph'
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Count rows and add blank rows accordingly rows in word? j2b3 Word Tables 3 07-19-2012 03:59 PM
Count rows and add blank rows accordingly hidden rows gsrikanth Excel 5 01-19-2012 02:40 PM
Count rows and add blank rows accordingly merging rows and creating sub-rows gib65 Excel 2 12-09-2011 02:09 PM
Count rows and add blank rows accordingly How to remove blank rows from a specified range? Learner7 Excel 1 04-19-2011 02:45 AM
Count rows and add blank rows accordingly Rows to Columns kyakobi Excel 5 12-07-2010 03:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:11 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