Logo 
Search:

MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

Add below, not above

  Asked By: Joel    Date: Feb 23    Category: MS Office    Views: 567
  

I am using a VBA Macro triggered by an Excel button to write a MSWord
document. I am building a table using:

MSWord.Selection.Rows.Add

Unfortunately, it is adding the row ABOVE the previous row, not below
it. Any suggestions on how to add AFTER and not BEFORE the current
selection?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Blandina Garcia     Answered On: Feb 23

I'm foolin' around. Looks like I'm looking for:

MSWord.Selection.InsertRowsBelow

 
Answer #2    Answered By: Addison Campbell     Answered On: Feb 23

Follow with a number to inseret more than one row  at a time:
MSWord.Selection.InsertRowsBelow 4
to add  4 lines below.

 
Answer #3    Answered By: Aaleyah Khan     Answered On: Feb 23

Use
MSWord.Selection.Rows(Previous).Add

 
Didn't find what you were looking for? Find more on Add below, not above Or get search suggestion and latest updates.




Tagged: