Is it possible to access VBA code in outlook using VBA in Excel? -


i trying connect several macros outlook , excel. 1 of functions needs access vba code other program , analyse it. quite easy acces vba code in excel outlook, example:

set wb = workbooks.open(address) set codeaddress = wb.vbproject.vbcomponents(1).codemodule 

but wonder how access outlook macros excel. tried analyse outlook application properties through watch window, hadn't find appropriate. stackoverflow, have got ideas?

the outlook object model doesn't provide property or method that. vbaproject.otm file contains outlook vba macros.

all outlook macros stored in single file named vbaproject.otm in user's %appdata%\microsoft\outlook folder, hidden folder on systems.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -