visual basic sleep delay code example Example: excel vba wait Application.Wait (Now + TimeValue("0:00:10"))