Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default resizing an image on a form

I want to insert an image on a user form, but it is
larger than the area I want to use. When I resize the
object, it crops the picture instead of shrinking it.
How do I resize it instead of cropping it?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default resizing an image on a form

Look at the PictureSizeMode property:

Here are the choices:

fmPictureSizeModeClip 0 Crops any part of the picture that is larger than the form or page (default).
fmPictureSizeModeStretch 1 Stretches the picture to fill the form or page. This setting distorts the picture in either the horizontal or vertical direction.
fmPictureSizeModeZoom 3 Enlarges the picture, but does not distort the picture in either the horizontal or vertical direction.



--
Regards,
Tom Ogilvy


"Liam" wrote in message ...
I want to insert an image on a user form, but it is
larger than the area I want to use. When I resize the
object, it crops the picture instead of shrinking it.
How do I resize it instead of cropping it?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Resizing and Shifting Excel 2007 Ash Homar Excel Discussion (Misc queries) 0 April 4th 08 12:05 PM
Using a scanned image to create a form in Excel 2007 BobR Excel Discussion (Misc queries) 0 January 26th 08 06:55 PM
Form image taxman Excel Worksheet Functions 0 August 30th 07 04:32 AM
Resizing cells in a selection without resizing entire sheet Danielle via OfficeKB.com Excel Discussion (Misc queries) 4 August 11th 06 10:06 PM
Form-filling application with Excel (background image)? J.Smith Excel Discussion (Misc queries) 1 May 15th 05 08:40 AM


All times are GMT +1. The time now is 03:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"