This section of code should save and close my word document (it is an excel macro that modifies the word document).
When I run the macro I get a Compile Error: invalid or unqualified reference. at this line
When I click the help button I get the following message, "An identifier beginning with a period is valid only within a With block. This error has the following cause and solution: The identifier begins with a period. Complete the qualification of the identifier or remove the period." Removing the period does not solve the problem.
How should the code be modified to work? Thank you in advance.
Bookmarks