Hi,

I have the following code, from VB that when i use it in Visual Studio it reports me an error related to "ThisApplication.ActiveDocument":
Code:
Documento = ThisApplication.ActiveDocument
I tried some alternatives, but....nothing.

What is the code in Visual Studio to make this?

Thanks