Using VBA in a word file(office365) to get the filename and filetype entered by the user when saving as

Anonymous
2022-03-15T02:29:35.703+00:00

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.

183077-image.png

183050-%E3%82%B3%E3%83%A1%E3%83%B3%E3%83%88-2022-03-15-112502.png

best wishes

Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office Word For business Windows
Developer technologies Visual Basic for Applications
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.