This relates to Excel 97.
I am wanting to create a list of which of the numerous Excel files in a drive have code modules so that I can review them.
The procedure I have written is looping happily through the directories and sub-directories, opening each xl file in turn. My method of detecting if there is a module there is:
Application.VBE.CodePanes.Count
but this only returns a count of those panes which were open at the time the file was saved - so files saved with all panes closed are not being detected.
Has anyone any ideas on this?
Rog
I am wanting to create a list of which of the numerous Excel files in a drive have code modules so that I can review them.
The procedure I have written is looping happily through the directories and sub-directories, opening each xl file in turn. My method of detecting if there is a module there is:
Application.VBE.CodePanes.Count
but this only returns a count of those panes which were open at the time the file was saved - so files saved with all panes closed are not being detected.
Has anyone any ideas on this?
Rog