После открытия этой книги выполняется следующий скрипт, который пишет формулу для создания ссылки на несколько книг. Каждое учебное пособие записывает 3 колонки т.е. рабочая тетрадь 1 пишет A, B и C и рабочая тетрадь 2 пишет D, E, F и т.д ..ускорение этого сценария vba
WBNAME = "=IF(AND('\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!A2<>"""",'\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!E2=""""),'\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!A2,"""")"
Worksheets("All Release Items").Range("A2:A100").Value = WBNAME
WBNAME2 = "=IF(AND('\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!A2<>"""",'\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!D2<>"""",'\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!E2=""""),'\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]iForms'!D2,"""")"
Worksheets("All Release Items").Range("B2:B100").Value = WBNAME2
WBNAME3 = "=IF('\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]All Release Items'!A2<>"""",'\\insurance\it\FileData\Computers\Release Note\[Aliens.xlsm]All Release Items'!A1,"""")"
Worksheets("All Release Items").Range("C2:C100").Value = WBNAME3
Есть в настоящее время 12 рабочих книг все .xlsm и находятся в одном файле дорожка. Пожалуйста, помогите