Hello I want to create a code VBA code that allows the point above but I don't found any resource that speaks directly on this:
1. Open a dialog box to choose a word file in the path: C:\Add-in\Company\Templates in docx format
2. Select as active sheet Checklist the file: "Checklist - One"
3. Populate all the bookmarks of the word file with content cells that have name equal as the bookmarks (use sheet checklist)
4. If the Checklist sheet has a cell named "Gender" and the content is equal to "Female" must go to the excel file in the path: C:\Add-in\Company.xlsx on the sheet1 and search all the words in the column A throught the word file and replace with words in the column B otherwise replace with the words in the column C
4. Open a dialog box to input the path to save the word with the name TEST in word and pdf format
5. Close all the files without savings
6. Quit all aplications
Can someone help? I'm trying to figure out VBA code to do this can even recording the macro isn't appearing everything.
1. Open a dialog box to choose a word file in the path: C:\Add-in\Company\Templates in docx format
2. Select as active sheet Checklist the file: "Checklist - One"
3. Populate all the bookmarks of the word file with content cells that have name equal as the bookmarks (use sheet checklist)
4. If the Checklist sheet has a cell named "Gender" and the content is equal to "Female" must go to the excel file in the path: C:\Add-in\Company.xlsx on the sheet1 and search all the words in the column A throught the word file and replace with words in the column B otherwise replace with the words in the column C
4. Open a dialog box to input the path to save the word with the name TEST in word and pdf format
5. Close all the files without savings
6. Quit all aplications
Can someone help? I'm trying to figure out VBA code to do this can even recording the macro isn't appearing everything.