1

Topic: As in vba excel to address to opened by means of Shell a file

Through Shell I open dwg a file in adobe.
Further it is necessary to work with this file
I can not understand how to address to already open file. Or somehow at file discovery at once to appropriate it PDDoc
Prompt, if who knows. Thanks!

Sub Test ()
Dim AcroPDDoc As CAcroPDDoc
Dim PDDoc As AcadDocument
Shell ("C:\acrob\Acrobat\Acrobat.exe C:\dn\mm.dwg")
End Sub

2

Re: As in vba excel to address to opened by means of Shell a file

AcadDocument is an object of the document , opened in  (as far as I understand)
And here the acrobat?

3

Re: As in vba excel to address to opened by means of Shell a file

Shocker. Pro;
Yes, a mistake.

Dim PDDoc As CAcroPDDoc

4

Re: As in vba excel to address to opened by means of Shell a file

Then and here a shell?
On first on search in , there is  examples of discovery of the document
http://www.khk.net/wordpress/2009/03/04 … roduction/

5

Re: As in vba excel to address to opened by means of Shell a file

Shocker. Pro;
It is necessary to open dwg a file as it is described under the link opens pdf

6

Re: As in vba excel to address to opened by means of Shell a file

Dock is for 5 mines, and further understand. Personally at me Acrobat' is not present
https://www.adobe.com/content/dam/acom/ … erence.pdf

7

Re: As in vba excel to address to opened by means of Shell a file

SandraSidorova wrote:

Shocker. Pro;
It is necessary to open dwg a file as it is described under the link opens pdf

Here, for example, person TIF' opens
http://www.justskins.com/forums/convert … 25010.html

8

Re: As in vba excel to address to opened by means of Shell a file

Leonid Kudryavtsev;
Yes, many thanks! Understood