Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Very odd. I have a simple macro to resize all the pictures on a page in
order to fit the page breaks. It works perfectly when I step through the code, line by line using "F8" but if I leave it to run from a command button on the sheet, the pictures do resize but to a completely different dimension than instructed. After resetting pagebreaks, the code is simply a for next loop with: AcvtiveSheet.Shapes(i).Select With Selection .ShapeRange.LockAspectRatio = msoTrue .ShapeRange.Height = ht .ShapeRange.Top = yposn .ShapeRange.Left = xposn End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need a basic quick time line design | Excel Discussion (Misc queries) | |||
How to format userform label at design time? | Excel Programming | |||
Date and Time Picker resizing itself | Excel Programming | |||
The design of this website sucks big time | New Users to Excel | |||
Design time events | Excel Programming |