Hi,
I've created and filled a word filed from Excel using the following code:
The problem is that Word prompts me to choose the saving location. Instead I would like to enter the location and Word file name in VBA. How can I do this?
I've created and filled a word filed from Excel using the following code:
Code:
Dim appWord As Word.Application
Set appWord = New Word.Application
appWord.Visible = True
Sheets("Dagbericht").Range("A1:J200").Copy
appWord.Documents.Add.Content.Paste
appWord.Documents.Save
The problem is that Word prompts me to choose the saving location. Instead I would like to enter the location and Word file name in VBA. How can I do this?
Last edited by a moderator: