Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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