Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone know a code that will select only the embedded documents
on a sheet? I’m trying to setup a code that will copy and paste the embedded documents to another sheet, but I can’t figure out how to keep the code from selecting all the other objects on the sheet. I have Form Buttons, Option Buttons, & embedded PDF, Excel, or Word documents. I only want the code to select the embedded documents. I have tried….. ActiveSheet.Shapes.SelectAll I have tried….. ActiveSheet.OLEObjects.Select I have tried….. Dim shp As Shape For Each shp In ActiveSheet.Shapes If shp.Type = msoEmbeddedOLEObject Then ActiveSheet.Shapes.SelectAll End If Next But, they all select the buttons with the embedded documents. I only want to select the embedded documents. Any help would be greatly appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sorting a worksheet with embedded documents in one column | Excel Discussion (Misc queries) | |||
embedded documents in excel | Excel Discussion (Misc queries) | |||
embedded Excel sheets in Word documents | Excel Programming | |||
Coping Embedded documents to local drive... | Excel Discussion (Misc queries) | |||
Printing multiple embedded Word Documents | Excel Programming |