+ Reply to Thread
Results 1 to 4 of 4

Change All Shapes Text in a Workbook

  1. #1
    Registered User
    Join Date
    04-29-2017
    Location
    London
    MS-Off Ver
    2016 Professional
    Posts
    50

    Change All Shapes Text in a Workbook

    Dear All

    I would like to loop through all the shapes in a workbook and if the shape name appears in the first column of a table then the text inside the shape is changed to the corresponding value in the adjacent column. For example, with reference the screen shot below, if the shapes name is Label001 then the text should be changed to 'Crop', if its name is Label099 then its text should be changed to 'Width'. If the shape name does not appear in the table then leave the text as it is. I have tried to achieve this using various version of the code without success. I would welcome any advice or ideas.


    Capture.JPG


    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Change All Shapes Text in a Workbook

    Maybe ...

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-29-2017
    Location
    London
    MS-Off Ver
    2016 Professional
    Posts
    50

    Re: Change All Shapes Text in a Workbook

    Thank you shg

    There is always an easy way

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Change All Shapes Text in a Workbook

    You're welcome.

+ 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. Replies: 5
    Last Post: 08-11-2017, 03:05 PM
  2. [SOLVED] Change colour of shapes when clicked - VBA
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2016, 08:24 AM
  3. Change letters to Shapes using a formula?
    By alyssa88 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2014, 01:59 PM
  4. [SOLVED] Change color of text for a group of shapes
    By emiliekatherine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2012, 08:43 AM
  5. Macro to select all shapes (text boxes) in workbook
    By Humahuaca in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2012, 04:21 AM
  6. Macro to select all shapes (text boxes) in workbook
    By Humahuaca in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2012, 12:27 PM
  7. Change order of Shapes with a click
    By John Michl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2005, 06:00 PM

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