+ Reply to Thread
Results 1 to 3 of 3

Can't find generic name for selected Shape

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    USA NC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Can't find generic name for selected Shape

    Hi folks,

    I'm trying to develop a simple Kanban/Scrum tool in Excel. I have set up row/column settings and am putting in "sticky notes" in each cell. Using the snap to grid, i can achieve a drag&drop function from column to column.

    My issue is that each "sticky note" has a Text Description field, an Assigned To drop-down list, a Estimated Days spin control, and Tested checkbox. I have grouped all these items with an Image activeX background, forming a group.

    My problem is that when I try to record a macro that will move the sticky note to the next column, it records this string ActiveSheet.Shapes("Group 111").Select

    Is there a property that I can use to substitute for the "Group111" name, such as ActiveSheet.Shapes(Current).Select or a similar construct. I need the macro to be generic in the naming of the currently selected Group as I will be adding dozens of Sticky Notes in a given project.

    I can't find this solution anywhere on the web. Help me Obiwan, you;re my last hope!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Can't find generic name for selected Shape

    Hello Barharborboy,

    Welcome to the Forum!

    You a transplant from the Pine State to the Tarheel State? It would be best if you posted a sample workbook. It will provide you with quickest turnaround and most accurate solutions.
    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!)

  3. #3
    Registered User
    Join Date
    02-17-2011
    Location
    USA NC
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Can't find generic name for selected Shape

    Thanks.

    After researching this in more detail, I need to restate my needs as follows.

    I have a worksheet in which I have 1 initial sticky note to begin. This sticky note is a group of Form and Active X controls, grouped as a single object. I have named the first sticky note as StickyNote1.

    I want to create a macro to assign to a button that will always copy StickNote1 to clipboard, paste the new sticky note and then rename it to the next sequential number, e.g. StickyNote2, StickyNote3, etc.

    I am attaching the worksheet for review.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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