inserting images in a doc

P

Paul

Hi all!
I'm inserting pcx images in a document with VBA.
Many (but not all) of my pcx files have a 150ppi definition.
But Word seems inserting and linking them with a 96ppi definition and
inserted images are too big.
How can I read the definition of the pcx files with VBA in order to re-size
my images?
Many thanks for your help.
Paul
 
W

Word Heretic

G'day "Paul" <[email protected]>,

you'd need to directly link and call many OS functions which is
outside the scope of the VBA books & general population knowledge.
Start reading MSDN :) Word's native gfx handling is atrocious and
there is little to be done.

One SIMPLE way around is to use naming stds with your files and
process them accordingly.




Paul said:
Hi all!
I'm inserting pcx images in a document with VBA.
Many (but not all) of my pcx files have a 150ppi definition.
But Word seems inserting and linking them with a 96ppi definition and
inserted images are too big.
How can I read the definition of the pcx files with VBA in order to re-size
my images?
Many thanks for your help.
Paul

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

If my answers r 2 terse, ask again or hassle an MVP,
at least they get recognition for it then.
Lengthy replies offlist require payment.
 

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