Skip to Content
0
Former Member
Apr 10, 2009 at 03:18 AM

Finding the macro in a report using vba

45 Views

Hi,

I have developed a vba script to find whether a deski report has a macro or not. The code i have used is Doc.Application.Macros.Count >= 1.This code works fine until the macro have a name.But the problem is there are some reports which don't have name this macros are not catched by this script.How can i overcome this problem of finding the macro using vba scripts which don't have name.