cancel
Showing results for 
Search instead for 
Did you mean: 

How to Add Table in between the page or Update Available Table In MS Word

SushmaRajolli
Level 3

Hi Community,

I am working on MS Word VBO, here I got a requirement to update the available table where I want to input brokerage details like the "name of brokerage" and "account number"  I am facing the following issues while working on this word document.

  • The table is placed in between the page (in between text paragraphs in word) to update the table on how to find the table number
  • If updating the table is not possible how can I add the table between text paragraphs in a word document?
  • How to select or search specific text in a word document 
  • Please find the screenshot for reference 35399.png

5 REPLIES 5

Hi @Sushma Rajolli 

How many tables do you have in your document?

Are the number of tables going to to fixed?

Are the number of rows/columns in your table going to be fixed?


There is a action called "Set Table Cell Value" in MS Word VBO that lets you set the table cell value based on row/column number of the cell. Have you tried using that?

SushmaRajolli
Level 3

Hi @shashank.kumar280 There are like 5 - 6 tables and the table number may be fixed but Table rows and columns may change 

In "Set Table Cell Value" it asking the table number am facing an issue getting the proper table number is there any procedure/steps to get the table number in word

Hi @Sushma Rajolli ,

You can use the Get Table Cell Value to read the value of first cell to determine which table the index is referring to. I believe the table indexes are in sequence starting from  either 0 or 1. Earlier versions of MS Word that I worked with used to show the table number on the UI which I then used in Blue Prism. But I couldn't find this in MS Office 365.

SushmaRajolli
Level 3

Hi @shashank.kumar280 

I am working on MS Office 365 only Is MS Word VBO not working for Office 365? 

to update the table I need the table number but I couldn't get the table number where I can see the table number in MS office word 365. Do we have any other alternative way to update the table in MS Word?

PvD_SE
Level 12

Hi Sushma,

The methods described by Shashank are correct and do apply also to O365. Though we tend to make sure the documents open in the app rather than the browser.

Note that you don't get the table number, nor can you see it in the document. It's a bit trial and error when working with tables in a document with BP. You try and write (or read) to table 1, column 1, row 1. Then you see what you got and adjust accordingly. Wrong table, adjust the table number up or down to get the correct table. Wrong row or column: adjust accordingly until you get it right. 

Happy coding!
---------------
Paul
Sweden

Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)