Hi, Lymm!
There have been times when I would have given more than... 1 buck?... for having such a tool. So someone had to write it. Here it is:
http://dl.dropbox.com/u/60558749/How%20do%20I%20find%20files%20which%20contain%20user%20forms.%20%28for%20Lymm%20at%20chandoo.org%29.xlsm
Just place this workbook in any folder, close all Excel instances that might be running, open this workbook, press the cyan command button... et voilá, c'est tout!
Screen is freezed so give it time to work, will beep when finish. It works with all *.xl* files, and with my chandoo folder it didn't crashed... and I have such files in there...
As to be useful for me, it not only tells you what files have user forms, but it tells you everything about worksheets, charts, macro & dialog sheets, modules, class modules and userforms: count, order & name for each one.
It has certain constraints, as follows:
- it doesn't work with subfolders
- if a workbook opens other workbooks, it might duplicate the data or cancel at that opened file
- if a workbook has an auto open macro, it will run... and only you know what might it do
- if a workbook is password protected a message is set in last column
Hope you like it. Now it's part of my swiss knife ...or that was NetCat 1.11?
Regards!