+ Reply to Thread
Results 1 to 3 of 3

How to Determine Index Number of New Shape

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to Determine Index Number of New Shape

    Hi everyone,

    *Note: I am accessing the Excel Library from a different program, so the "dim" and "set" lines are a little different*

    I'd like to know how to determine the index number of a new shape, specifically the picture I just pasted into a certain cell. I want to resize it. I know if it is the first picture in a blank sheet, I can just do this:

    Please Login or Register  to view this content.
    But what if there are already some number of shapes in the worksheet already? How do I know what to put instead of 1? Is there a command that can tell me the index number of the last shape?

    Thanks!

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: How to Determine Index Number of New Shape

    You don't necessarily need to know the index number:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to Determine Index Number of New Shape

    Excellent. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1