Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Is there a way to make a macro there copy all photo from one sheet to another sheet if i don't know how many photos there are Regards alvin |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Something like:
Option Explicit Sub testme() Dim FWks As Worksheet Dim TWks As Worksheet Dim myPict As Picture Set FWks = Worksheets("sheet1") Set TWks = Worksheets("sheet2") For Each myPict In FWks.Pictures myPict.Copy TWks.Range(myPict.TopLeftCell.Address(0, 0)).PasteSpecial _ Paste:=xlPasteAll Next myPict End Sub Alvin Hansen wrote: Hi Is there a way to make a macro there copy all photo from one sheet to another sheet if i don't know how many photos there are Regards alvin -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Photo in a sheet | Excel Programming | |||
i can not copy and paste a photo in excel 2003 | Excel Worksheet Functions | |||
updating photo | Links and Linking in Excel | |||
Link to a photo. | Links and Linking in Excel | |||
photo gallery | Excel Discussion (Misc queries) |