DSS
DSS
Option VBASupport 1
Private Sub Workbook_Open()
'change add ins in Excel window ... must know name of addin
AddIns("Analysis Toolpak").Installed = True
AddIns("Analysis Toolpak - VBA").Installed = True
AddIns("Solver Add-in").Installed = True
'change reference in VBE for Solver VBA code and/or Simulation/Analysis code
MsgBox "Please update your Excel security settings." & vbLf & vbLf & _
"Go to Tools > Macros > Security." & vbLf & vbLf & _
"Click the 'Trusted Sources' tab, and check 'Trust access to Visual Basic Project'. "
Worksheets("Welcome").Visible = True
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If ws.Name <> "Welcome" Then
ws.Visible = False
End If
Next
Application.DisplayFullScreen = True
End Sub