I need to import a sheet from another book
Application.ScreenUpdating = False
Workbooks.Open fileName:=ThisWorkbook.path & "\temp01.xlsx"
Workbooks("temp01.xlsx").Sheets.Copy before:=ThisWorkbook.Sheets("adm")
Workbooks("temp01.xlsx").Close False
Application.ScreenUpdating = True
But in windows taskbar is visible that the book si opened and, after a few seconds – closed.
Is there a way to import a sheet without opening the target book, or opening it without win taskbar updating ?
You can add this line to the start of your code.
and this list to end of your code
It will hide the Excel application on your taskbar while your code is running.