I have a need to open an Excel template on the user’s desktop where other Excel workbooks may already be open and in use.
This template needs to open without it commandeering any other open workbook…
To solve this: I used a macro-enabled workbook [starter.xlsm] where the Workbook_Open event opens an Excel template…
This “starter” workbook does nothing but open and become the shell for the Excel template that follows…
This “starter” workbook is visible for a very short moment before the template opens…
The template needs this workbook to keep it from using any other workbook on the desktop.
Is there any code that would reduce the visibility of this “starter” workbook before the intended Excel template opens?
Thanks...
*************************
Private Sub Workbook_Open()
Application.ScreenUpdating = False
Application.EnableEvents = False
Workbooks.Open Filename:= _
"D:\Maint Program\MaintTicket.xltm", Editable:=True
Application.ScreenUpdating = True
Application.EnableEvents = True
End Sub
This template needs to open without it commandeering any other open workbook…
To solve this: I used a macro-enabled workbook [starter.xlsm] where the Workbook_Open event opens an Excel template…
This “starter” workbook does nothing but open and become the shell for the Excel template that follows…
This “starter” workbook is visible for a very short moment before the template opens…
The template needs this workbook to keep it from using any other workbook on the desktop.
Is there any code that would reduce the visibility of this “starter” workbook before the intended Excel template opens?
Thanks...
*************************
Private Sub Workbook_Open()
Application.ScreenUpdating = False
Application.EnableEvents = False
Workbooks.Open Filename:= _
"D:\Maint Program\MaintTicket.xltm", Editable:=True
Application.ScreenUpdating = True
Application.EnableEvents = True
End Sub