Microsoft Excel ana uygulama penceresini kapatmaya yarayan VBA kodudur.
Option Explicit Sub UygulamaPenceresiniKapat() Application.Quit End Sub