Excel Workbook opening template

sampson32

Active Member
Joined
Jul 16, 2003
Messages
312
Office Version
  1. 2021
Platform
  1. Windows
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
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,214,926
Messages
6,122,306
Members
449,079
Latest member
juggernaut24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top