August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
Function CreateNew() Dim wkb As Workbook, wbkNew As Workbook Application.EnableEvents = False Application.ScreenUpdating = False ' Set wbDest = ThisWorkbook 'If WorkbookOpen("Payroll GL Summary.xls") Then ' Workbooks("Payroll GL Summary.xls").Close 'Workbooks.Close Filename:="C:\GL Summary\Payroll GL Summary.xls", savechanges:=False 'End If Set wbkNew = Workbooks.Add wbkNew.SaveAs Filename:="Payroll GL Summary" Application.EnableEvents = True Application.ScreenUpdating = True End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.