D
Don
I've got the following code in personal.xls (ThisWorkbook) to set calculation
to automatic and set iterations to true. Code works great...but I'd like to
insert some additional code to make personal.xls hide itself. I was thinking
perhaps another XLApp statement added somewhere below...but I haven't a clue.
Any suggestions? Thanks.
Private WithEvents XLApp As Excel.Application
Private Sub Workbook_Open()
Set XLApp = Excel.Application
End Sub
Private Sub XLApp_NewWorkbook(ByVal Wb As Workbook)
XLApp.Calculation = xlCalculationAutomatic
XLApp.Iteration = True
XLApp.MaxIterations = 9999
End Sub
Private Sub XLApp_WorkbookOpen(ByVal Wb As Workbook)
XLApp.Calculation = xlCalculationAutomatic
XLApp.Iteration = True
XLApp.MaxIterations = 9999
End Sub
to automatic and set iterations to true. Code works great...but I'd like to
insert some additional code to make personal.xls hide itself. I was thinking
perhaps another XLApp statement added somewhere below...but I haven't a clue.
Any suggestions? Thanks.
Private WithEvents XLApp As Excel.Application
Private Sub Workbook_Open()
Set XLApp = Excel.Application
End Sub
Private Sub XLApp_NewWorkbook(ByVal Wb As Workbook)
XLApp.Calculation = xlCalculationAutomatic
XLApp.Iteration = True
XLApp.MaxIterations = 9999
End Sub
Private Sub XLApp_WorkbookOpen(ByVal Wb As Workbook)
XLApp.Calculation = xlCalculationAutomatic
XLApp.Iteration = True
XLApp.MaxIterations = 9999
End Sub