I understand it is possible to do so using Excel macro, see: Programmatically extract macro (VBA) code from Word 2007 docs, but what I want to do here is to use VB6 to make an application which does the same thing.
I am having problem on how to point to the Excel workbook (thisworkbook.VBproject
is used in the example above).
Is it possible to select any .xls file from the hd, say c:\try.xls
, and extract/show its macros? Please advise!