Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim ExcelApp As Object
- Set ExcelApp = getExcelApp()
- Function getExcelApp() As Object
- Dim ExcelApp As Object
- Set ExcelApp = CreateObject("Excel.Application")
- ExcelApp.Visible = False
- ExcelApp.ScreenUpdating = False
- ExcelApp.DisplayAlerts = False
- ExcelApp.EnableEvents = False
- getExcelApp = ExcelApp
- End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement