+ Reply to Thread
Results 1 to 3 of 3

referin to a TextBox which is part of a shape group on a sheet.

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    referin to a TextBox which is part of a shape group on a sheet.

    I have tried to use the code below to rotate a pointer (ShapeName) by an amount governed by variable pos and to place the value of pos in a TextBox that is part of a Group (MeterName).
    The rotation works but the naming of the TextBox is faulty, so that fails.
    How should I refer to the TextBox?



    Please Login or Register  to view this content.
    John

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428

    Re: referin to a TextBox which is part of a shape group on a sheet.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: referin to a TextBox which is part of a shape group on a sheet.

    Andy
    Many thanks for your post, the code works well.
    To make the first part of my code work I had to ungroup ShapeName (the needle) from the group representing the whole meter. It seems from looking at your code (esp.GroupItems) that it might be possible to refer to a subordinate group in the hierarchy of shapes making up the complete shape. Is this so and if yes what would the code look like?
    I have not found useful help in any of my usual sources.
    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] INDIRECT SUBSTITUTE Referin to a dynamic list
    By Frankie_The_Flyer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2017, 05:22 AM
  2. multi Arc Shape in in one group
    By DOSSFM0Q in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2014, 07:12 PM
  3. Determine if shape is PART of a group of shapes?
    By MCCCLXXXV in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2013, 01:40 PM
  4. [SOLVED] Manipulate specific shape that is part of a group (Excel 2003)
    By wunderfisch in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-28-2013, 06:09 PM
  5. Finding a group in a shape
    By LAF in forum Excel General
    Replies: 1
    Last Post: 07-09-2010, 03:18 AM
  6. [SOLVED] Adding shape-type textbox into excel chart sheet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2006, 03:30 AM
  7. [SOLVED] text in shape group
    By pshen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2005, 03:05 PM

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