Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ho i´ve inserted an image in excel, but i need to make some ajustements
(position) as some columns are hidden or not... How do i select in VBA an allready inserted image? (embeded) i ned to do the folowing.... (but doenst work) Dim myPict As Picture With ActiveSheet.Range("p2") Set myPict = ActiveSheet.Shapes("Picture18") myPict.Top = .Top myPict.Left = .Left - 50 myPict.Placement = xlMove End With |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
my demo:
Sub MoveIt() Dim oPic As Shape If ActiveSheet.Shapes.Count = 1 Then Set oPic = ActiveSheet.Shapes(1) With oPic .Top = 0 .Left = 50 End With End If End Sub "SpeeD" wrote: Ho i´ve inserted an image in excel, but i need to make some ajustements (position) as some columns are hidden or not... How do i select in VBA an allready inserted image? (embeded) i ned to do the folowing.... (but doenst work) Dim myPict As Picture With ActiveSheet.Range("p2") Set myPict = ActiveSheet.Shapes("Picture18") myPict.Top = .Top myPict.Left = .Left - 50 myPict.Placement = xlMove End With |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I can't select, move or resize an image in Excel?? | Excel Discussion (Misc queries) | |||
Inserted raster image prints distorted | Excel Discussion (Misc queries) | |||
Can't select image on a worksheet that was inserted by c#??? | Excel Programming | |||
Checkbox to select image | Excel Programming | |||
How do I see a .ESP image (logo) that is inserted in a worksheet? | Excel Discussion (Misc queries) |