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

Re: Prevent Logo Resizing? by Takuon

Takuon
Thu Oct 28 20:59:53 CDT 2004

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

"Jeff" <nospam@nospam.com> wrote in message
news:memo.20041026093303.53603A@eonsol.compulink.co.uk...
> 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?
>
>> 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
>>
>>
>>
>>
>>
>>
>>
>>
>



Re: Prevent Logo Resizing? by richardall

richardall
Fri Jul 15 09:22:34 CDT 2005

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