https://daniosvet.ru/d/otkrytie-i-zakrytie-knigi-vba-excel
Открытие и закрытие книги VBA Excel