Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Selecting last pasted object

Hello,

I am building an application that involves some PowerPoint
manipulation fron Excel VBA.

When i paste a shape to PPT in Bitmap format (PasteSpecial), the shape
is not automatically selected as with other formats (quite stange
behaviour...). Is there a way to identify by code the lat pasted
object so i can select it accordingly?

Thanks a lot
Avi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Selecting last pasted object

With Activesheet
..Shapes(.Shapes.count).select
End with

This selects the topmost object, typically the last inserted object. It
would select the last pasted object providing its order hasn't been changed
and no others inserted since.

Regards,
Peter

"avi" wrote in message
ps.com...
Hello,

I am building an application that involves some PowerPoint
manipulation fron Excel VBA.

When i paste a shape to PPT in Bitmap format (PasteSpecial), the shape
is not automatically selected as with other formats (quite stange
behaviour...). Is there a way to identify by code the lat pasted
object so i can select it accordingly?

Thanks a lot
Avi



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasted Word object getting cut off dpatcep Excel Discussion (Misc queries) 0 August 26th 09 07:40 PM
How to fix a Excel corrupt object pasted into Word? hazel Excel Worksheet Functions 1 July 28th 06 06:57 PM
Why does a pasted object in Excel sometimes print upside down? Mel Excel Discussion (Misc queries) 2 December 2nd 05 02:07 PM
Get a reference to the last object pasted quartz[_2_] Excel Programming 6 January 13th 05 04:15 PM
Draw object pasted into Excel cannot be deleted or moved Elaine Merchant Excel Discussion (Misc queries) 0 January 7th 05 09:35 PM


All times are GMT +1. The time now is 10:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"