Hello,
i want add a reference to Microsoft Word 2010 through VBA code, but i do not seem to able to file the correct GUID.
The code i tried is this :
Where can i find it for Microsoft Word 2010 ?
Or another way to do it?
Regards
Erwin
i want add a reference to Microsoft Word 2010 through VBA code, but i do not seem to able to file the correct GUID.
The code i tried is this :
PHP:
On Error Resume Next
'Reference ADO Object Library using Major / Minor GUID
Set ID = ThisWorkbook.VBProject.References
ID.AddFromGuid "{00000205-0000-0010-8000-00AA006D2EA4}", 2, 5
Where can i find it for Microsoft Word 2010 ?
Or another way to do it?
Regards
Erwin