+ Reply to Thread
Results 1 to 3 of 3

Macro to select all shapes (text boxes) in workbook

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Montreal
    MS-Off Ver
    Excel 2007
    Posts
    1

    Macro to select all shapes (text boxes) in workbook

    Hello,

    This is my first post.

    I am currently working on the workbook with multiple tabs (over 70) on each tab, there's a number of charts related to the data on that tab.

    I would need to select all the textboxes in all the charts to do some formatting changes.

    I tried a "pedestrian" search by formatting function but it doesn't seem to search through anything but cells.
    Is there a macro I could use for this purpose?

    Thank you in advance for your help.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Macro to select all shapes (text boxes) in workbook

    Hi Humahuaca,

    Welcome to the forum.
    All the textboxes are actually objects and objects can be selected by F5-> Special - > Ojbects -> Enter

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +91 9810929744
    dilipandey@gmail.com

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

    Re: Macro to select all shapes (text boxes) in workbook

    Select special objects will only select the chartobject and not the textboxes within it. You will also not be able to specify what type of objects are selected.

    This code will goes through sheet, charts, chartobjects and shapes.

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

+ 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