code modules included in sheet count?
xl97 added the VBE. xl95 and before used macro sheets.
It sounds like the old program is creating a file using xl95.
I think I did the same thing (but it was a long time ago). I exported the
module, deleted that module and reimported it. (I needed that code.)
mark wrote:
Hi.
I'm working with an Excel file that was the output of Oracle's older version
of ADI (Application Desktop Integrator)... the version of ADI that was a
deskop app itself, and may be running some old Excel things.
There's a code module called "CODE" in it, which shows as a module in the
VBE. But, when asked how many sheets the file has,
Msgbox ActiveWorkbook.Sheets.Count , the module with the CODE is being
included as a sheet. I've proved this by removing the module CODE, and it
then reports 29 sheets.
Originally, I had thought they probably had a sheet with property visible =
xlVeryHidden , but that was not the case.
Is there a property somehwere where I can tell when a module of code is
being included in the sheet count?
Thanks,
Mark
--
Dave Peterson
|