Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to use a command button to resize an image in a worksheet. I tried to
generate the code by recording a macro. However I have just leaned this is not possible using Office 2007. Most great full if someone could assist with supplying the code for this. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim myWS as excel.worksheet
Dim myShape as Excel.Shape Set myWS = ActiveSheet Set myShape = myWS.Shapes("EnterShapeName") With myShape .LockAspectRatio = msoFalse .width = 500 .height = 300 end with -- HTH, Barb Reinhardt "Gotroots" wrote: I want to use a command button to resize an image in a worksheet. I tried to generate the code by recording a macro. However I have just leaned this is not possible using Office 2007. Most great full if someone could assist with supplying the code for this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Resize image using macro | Excel Worksheet Functions | |||
How we resize image in harddisk ? | Excel Programming | |||
Resize the image in excel 2007 | Excel Programming | |||
Drag/resize an image on UserForm by the user | Excel Programming | |||
resize userform image to fit on any monitor | Excel Programming |