User Profile
Collapse
-
The file is returning inspection0.doc each time the file is saved and not incrementing. I think it is how I am calling the original document...??? -
How can I increment the file name each time a word document is saved
All,
I am trying to have the file name of a document increment +1 each time a file is saved in word. See the code below:
Code:Private Sub OpenBlankDoc(ByVal DocumentName As String, ByVal wrdApp As Object, ByVal wrdDoc As Object) Dim sourcePathName As String Dim outputPathName As String wrdApp.Visible = True sourcePathName = source_formsPath + DocumentName
-
-
Windows Forms and Word Automation
All,
I would like to populate a word document using a windows form (i.e. have a user enter text into a textbox in windows form (i.e. textbox1) and then click submit and have the application open a word document that I have created and place the users text into a form field using a bookmark (i.e. bookmark1).
I have done this in Access using VBA (i.e. using WordDocument.Fo rmFields("Bookm ark_Name").Resu lt = Forms("Form_Nam e").Field.Value )...
No activity results to display
Show More
Leave a comment: