AN REALLY URGENT PROBLEM!!!!
As you can see in my history I know a bit about VBA in Excel. Now I need some VBA for Word and I hope you can help me out!
I have a file with a UserForm in it. In the UserForm the user selects for whitch company he is working and for whitch company he is going to write a letter (1 out of 6 company's). Each company has different addresses. Because I want the adress of the sender of the letter only to appear on the first page, I need a macro that puts a Textbox with the senders adress in the file.
I recorded the macro that puts a Textbox in a file. I populated the Tekstbox with the value Amsterdam ( in the orriginal it should be adress data). After I've populated the Textbox I want to go back to the normal text to go on and finish my letter.
But while recording the macro, I can't leave the Textbox and start to fill the file with data. The example of creating the textbox is shown below.
If it's possible at all, how can I leave the Textbox by VBAcode??? If it's really not possible, please let me know as well!!!
I hope I've explained it well enough, otherwise, let me know!!
Thanks in advance!
ActiveDocument.Shapes.AddTextbox(msoTextOrientationHorizontal, 376.85, _
79.85, 108#, 216#).Select