How do I select a picture that I just pasted? I need to rotate it.
Here is what I tried via macro recording:
The code works up until rotate because the shape does not get selected with the macroPlease Login or Register to view this content.
How do I select a picture that I just pasted? I need to rotate it.
Here is what I tried via macro recording:
The code works up until rotate because the shape does not get selected with the macroPlease Login or Register to view this content.
Last edited by bsapaka; 05-01-2014 at 12:28 PM.
Hello bsapaka,
The Shapes object is a collection of Shape objects on the worksheet. Any new addition to a Collection, will always be the last element of the collection. The last element can be retrieved using the Count property.
Please Login or Register to view this content.
Sincerely,
Leith Ross
Remember To Do the Following....
1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.2. Thank those who have helped you by clicking the Star below the post.3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
hmm it gives run-time error 438: Object doesn't support this property or method
tweaked your code and got it work work
Thanks for the help, Leith RossPlease Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks