![Where is the centered style set in word 2013](https://kumkoniak.com/41.jpg)
Now that is much more useful to us! we can see that we need to specify the Range that was found as well as some parameters for the number of Rows and Columns as well as the behavior of the table and how the items will fit. This is one of those cases where a trip to MSDN will provide more useful information to determine what we can actually use. Looking at the parameters really doesn’t help much. Using the $Selection, I will create a new able by using the Tables.Add() method and then saving the output of the method which is the table object that I can then use to begin processing and adding data into the table. $Range = $Range will be used soon in the construction and placement of the table.
![where is the centered style set in word 2013 where is the centered style set in word 2013](https://csharpcorner-mindcrackerinc.netdna-ssl.com/UploadFile/8ea152/how-to-apply-and-change-quick-styles-in-word-2013/Images/simple-text-in-word2013.jpg)
I also need to make sure that the object is treated like a collection, otherwise I won’t be able to specify the index, in this case –1 for the last item in the collection. I want to ensure that I am at the very end of my current spot in the document so I can put the table after whatever I may have written. One of the values that I want to document has a specific lookup that I need to quickly build using a hash table. Now that I have this information, I can now start building out my table. I think listing out all of the volumes on my system should suffice. Of course, the first thing that I need first is some actual data that I can put into a table. The first example will look more like a typical table that has the headers on the first row and the rest of the rows will consist of the actual data. Now that we have done that, we can start looking at building out a table to use in our document. $Word = New-Object -ComObject Word.Application In this article, I will be showing you how to build a table in Word using PowerShell.įirst we will go ahead and make the initial object creation and open up Word.
![Where is the centered style set in word 2013](https://kumkoniak.com/41.jpg)