GeorgeDurkee
Programmer
I am creating a series of worksheets using VBA. based on the worksheet, I turn on and off action buttons and menu items.
I am using access to populate the first worksheet, then using excel vba to manipulate the remaining sheets.
My problem is that as long as Access has control of the workbook, the ActiveSheet commands gets confused and generates an error 91, object variable or with block variable not set of the Active sheet examination.
It works fine if I run it entirely in excel.
the combination of Access and Excel VBA cause the rror.
My question is - how can i tell what sheet i am on without using ActiveSheet in the Excel code?
Thanks
I am using access to populate the first worksheet, then using excel vba to manipulate the remaining sheets.
My problem is that as long as Access has control of the workbook, the ActiveSheet commands gets confused and generates an error 91, object variable or with block variable not set of the Active sheet examination.
It works fine if I run it entirely in excel.
the combination of Access and Excel VBA cause the rror.
My question is - how can i tell what sheet i am on without using ActiveSheet in the Excel code?
Thanks