CadMonkey
Misplaced But Useful
- Local time
- Today, 00:09
- Joined
- May 19, 2004
- Messages
- 47
Hola!
Everyone who reads this thread will likely find this the easiest thing in the world to do...
In VBA I have coded to create a new word document. Now I need to make this document I've just crated the active document, so that I can add some text to it. Does anybody know any code that could do this?? This is the code I am currently using:
Dim objapp As Object
Dim ThisDocument As Word.Document
Set objapp = CreateObject("Word.Application")
objapp.Visible = True
objapp.Documents.Add
I owe you big time if you can help me out.
Everyone who reads this thread will likely find this the easiest thing in the world to do...
In VBA I have coded to create a new word document. Now I need to make this document I've just crated the active document, so that I can add some text to it. Does anybody know any code that could do this?? This is the code I am currently using:
Dim objapp As Object
Dim ThisDocument As Word.Document
Set objapp = CreateObject("Word.Application")
objapp.Visible = True
objapp.Documents.Add
I owe you big time if you can help me out.
Last edited: