Why am I getting a run time error on the first sub?
![]()
Sub Test1() Dim objWbk As Excel.Workbook Set objWbk = New Workbook End Sub Sub Test2() Dim objWbk As Excel.Workbook Set objWbk = Application.Workbooks.Add End Sub
Why am I getting a run time error on the first sub?
![]()
Sub Test1() Dim objWbk As Excel.Workbook Set objWbk = New Workbook End Sub Sub Test2() Dim objWbk As Excel.Workbook Set objWbk = Application.Workbooks.Add End Sub
*******************************************************
HELP WANTED! (Links to Forum threads)
Trying to create reusable code for Custom Events at Workbook (not Application) level
*******************************************************
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks