Prevent Logo Resizing?

J

James Pannozzi

Word 2000.

I am trying to save a small header logo as a jpg and use VBA to insert
it into the header of a 2d document. The logo keeps getting larger or
smaller.

Then I tried doing it by hand.

Same thing!

Here are details.

I copy a small logo from the heading of one document
into the heading of another document and the size of the
logo changes!!(?)

The bitmap dimensions are as follows (from format picture selection):

Height .72" Width 3.75"

Scale Height 112% Width 111%

Both boxes "Lock aspect ratio" and "Relative to original picture size" are
checked.

Original size
Height .64"
Width: 3.38"

When I paste into the header of a 2d document, the logo enlarges itself.
The header of the 2d document has some text in the header and that is all.

How do I prevent this from happening.

(Note: if I paste the logo into a new blank document, no size change, it
pastes perfectly).

Thanks
Jim
 
J

Jeff

It's probably due to some weird idea about how much space Word thinks is
available in the new header?

Could you read the size and scale of the picture before copying it and then
reset the new image to the old dimensions?
 
T

Takuon Soho

Yes, that's probably exactly what I'll end up doing.

I got sidetracked on something else but will return to this shortly.

Thanks
Jim
 
R

richardall

How could this be done?

How would I tell the macro to scale the image to fill a location (say 3in
X 4 in)?

If I used
Dialogs(wdDialogInsertPicture).Show

Then what code would I add to make it scale? Any help is appreciated
 

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