DisplayAsIcon:=False is sometimes ignored

  • Thread starter Scott Pendleton, Tulsa, OK
  • Start date
S

Scott Pendleton, Tulsa, OK

The following code works fine on my computer:

..InlineShapes.AddOLEObject ClassType:="AcroExch.PDDoc", _
DisplayAsIcon:=False, _
Filename:=s & "\" & Me.lst_Drawings.ItemData(i),
_
Range:=oRange


Specifically, the PDF is inserted as an image you can see, and not as an
icon.
I'm running Windows 2000 Pro, Office 2000, and Adobe Acrobat 7.

The code does not work on some other computers.
It has failed on a computer with Window XP, Office 2003, and Adobe Acrobat.
It has failed on a computer with Windows XP, Office 2000, and no Acrobat
except the reader and a print to PDF utility.

Any suggestions would be gratefully received.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top