Hi all,
I ´ve a little problem with MS Word Automation. I searched the forum, but did not find anything to solve my little problem. Please Help:
The litte thing i want to do, is tell word to change the allignment from left to center (or right, whatever).
It´s no problem to write in Word, but only at the left side...

Can you help, plz!
Comments
When I want to do some automation on Word, I usually record the required steps on Word, and then just replicates the code in Navision.
D365 Business Central Solutions Architect
BC AL/NAV C/AL Developer
BC Repositories.com
with the Macros of Word you can do such anything. For example your problem. The solution is:
Now your text is in the middle of the word document. If you want to write the text to the right side you must copy this code:
I hope this little code will help you.
With kind reqards
NaviSL