?
Solved

Insert Blank rows by VBA

Posted on 2012-08-16
3
Medium Priority
?
747 Views
Last Modified: 2012-08-16
Dear Experts:

I wonder whether it is possible ...
... to insert a blank row after each datarecord of the only table in the active document.

Hence: every other row is either a data record or a blank row.

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
0
Comment
Question by:AndreasHermle
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 2000 total points
ID: 38302503
Hi Andreas,

Unusually for you, your question isn't entirely clear.

In VBA, you can insert a table row before a given row. By defat, the row is added at the end of the table.

If you are doing a Directory-type of Mail Merge to a table, you can add an empty table row in the Main document. You will then get a blank row for each DataSource record in the output.
0
 

Author Closing Comment

by:AndreasHermle
ID: 38302718
Hi Graham,

thank you very much for the insight into this matter.

As always, professional support. Thank you very much.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 38302804
Thanks Andreas.

Actually,  I was a bit disappointed that I  couldn't be more help.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
This video walks the viewer through the process of creating an MLA formatted document, as well as a bibliography with citations.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
Suggested Courses
Course of the Month17 days, 9 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question