Hi, I'm very new to Powershell scripting. I want to find text and replace it with a text box object in MS Word. However, I've been researching on where I can start but I've been unsuccessful finding material on how to use powershell scripting with MS Word (beyond the basics). Any hints on this task would be great. Also, any advice links of where I can find documentation on using PS with MS Word such as classes, methods available to use with Word. Thanks!
Just so that I understand, there's no way to do it in powershell? Only VBA?
Thanks!
You can build objects in PowerShell but there is no reason to do that.
What is it the you need to do. Explain that without saying how to do it.
If you just want to learn how to use PowerShell with word then searching will find h thousands of examples.
You have to create the textbox object and add it to the range where the word is. In Excel a textbox is a "shape".
Search on Word VBA insert textbox to see how it is done: https://msdn.microsoft.com/en-us/library/office/ff821414.aspx?f=255&MSPPError=-2147217396