Word Macro Command Button | # 4

Опубликовано: 20 Май 2026
на канале: OfisLab
2,600
14

With macros that you can create in Word documents, you can let people fill in the forms you specify and have them saved automatically with some macro code. We show this in the Word Macro Command Button video.


----------
The code you can use to save and close your Word documents is:

ActiveDocument.Close SaveChanges: = wdSaveChanges

The code you can use to close your Word documents without saving is:

ActiveDocument.Close SaveChanges: = wdDoNotSaveChanges



----------
FOLLOW US!

FACEBOOK -   / ofislab  
TWITTER -   / ofislab