+ Reply to Thread
Results 1 to 4 of 4

VBA - Return Value Of ACTIVE TextBox in a Shape.

  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    18

    VBA - Return Value Of ACTIVE TextBox in a Shape.

    Hi all,

    I am trying to figure out how to return the value of a text box that is in a shape, and display it in a MsgBox. Everything I have tried returns a "Object Required" error.

    I am also trying to do this as one single macro that can be applied to any required shape, without having to manually create macros for each shape.

    Please see the sample attached.

    Many thanks!
    Attached Files Attached Files
    Last edited by PrizeGotti; 05-21-2020 at 09:24 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    616

    Re: VBA - Return Value Of ACTIVE TextBox in a Shape.

    Use application.caller

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: VBA - Return Value Of ACTIVE TextBox in a Shape.

    Quote Originally Posted by Vraag en antwoord View Post
    Use application.caller

    Please Login or Register  to view this content.
    Thank you! You've made my day!

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    5,124
    (removed as too late)
    Last edited by Marc L; 05-21-2020 at 09:32 AM.

+ 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] Editable Active X Textbox Linked to Active X List Box
    By bowater in forum Excel General
    Replies: 1
    Last Post: 12-08-2016, 07:44 PM
  2. Textbox vs shape
    By Jacc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2016, 02:52 PM
  3. Select shape in active cell
    By Papa Newch in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2014, 05:09 PM
  4. Click on shape to return message box of shape name
    By beat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-11-2013, 01:06 PM
  5. [SOLVED] Toggle Colour of Active Shape
    By Dave21 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-23-2013, 06:06 AM
  6. Is Shape a textbox
    By sanjay in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-05-2008, 08:28 PM
  7. [SOLVED] Handle on active shape and slide
    By Hari Prasadh in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-24-2005, 12: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