dear supports,
Using VBA in a word file to get the filename and filetype entered by the user when saving as
When the user enters the input file name and file type and clicks the save button, the file name and file type can be obtained to determine whether to save as.
If it is a pdf type, it will not be saved as, if it is a docx type, it will be saved according to the file name entered by the user.


best wishes