![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I'm trying to programmatically count the number of macros within an Office document. I haven't had much luck with finding a solution online. I have tried accessing the VBAProjects through: Application.VBE.VBProjects(1).VBComponents.Count only to receive the error: --------------------------- Microsoft Visual Basic --------------------------- Run-time error '1004': Programmatic access to Visual Basic Project is not trusted --------------------------- OK Help --------------------------- Is there another function I can call to return the number of available macros for a given document? Cheers, Rick |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
show number of unread AND number of total messages? | [email protected] | Outlook - General Queries | 1 | December 15th 08 09:10 PM |
total number of occurences for a year | aimee | Outlook - Calandaring | 1 | January 31st 08 02:28 AM |
calculate the total number of hours of appointments | Tine202 | Outlook - Calandaring | 2 | April 12th 07 07:54 PM |
counting the number of unanswered email messages in outlook | Ian | Outlook and VBA | 2 | June 27th 06 05:59 PM |
Outlook should have a function for counting the number of days | Bruce McGinn | Outlook - Calandaring | 0 | January 30th 06 01:01 PM |