L
Lizzie
Hi.
When you open Excel 2000, it opens a default blank
worksheet.
If I then open a worksheet containing VBA code, and run
the code, why does Excel still think that
Application.VBE.ActiveVBProject
is the project belonging to the default blank sheet, and
not the one belonging to the activeworkbook ?
Is this a bug? I can't see how, when code is actually
running, the project running that code is not seen by VBA
as the ActiveProject.
When you open Excel 2000, it opens a default blank
worksheet.
If I then open a worksheet containing VBA code, and run
the code, why does Excel still think that
Application.VBE.ActiveVBProject
is the project belonging to the default blank sheet, and
not the one belonging to the activeworkbook ?
Is this a bug? I can't see how, when code is actually
running, the project running that code is not seen by VBA
as the ActiveProject.