+ Reply to Thread
Results 1 to 4 of 4

Using formula to add text to TextBox Shape

  1. #1
    Registered User
    Join Date
    07-20-2014
    Location
    US
    MS-Off Ver
    2010
    Posts
    27

    Using formula to add text to TextBox Shape

    The following subroutine runs well and generates the textbox shape where I want, but it won't populate the textbox with the referenced cell information.

    I get the following error:

    Run-time error '438':
    Object doesn't support this property or method

    Which occurs at: .TextFrame.Formula = "=Wells!$J$2"

    Please Login or Register  to view this content.

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

    Re: Using formula to add text to TextBox Shape

    One way

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

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Using formula to add text to TextBox Shape

    Try
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Registered User
    Join Date
    07-20-2014
    Location
    US
    MS-Off Ver
    2010
    Posts
    27

    Re: Using formula to add text to TextBox Shape

    Thank you gentlemen, both styles work.

+ 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] Updating text in shape using data entered in a textbox in userform.
    By Awni in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-23-2016, 06:48 AM
  2. [SOLVED] Can I Enter the text appears in shape I select into the userform textbox/ listbox/ label?
    By Awni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2016, 07:57 AM
  3. Textbox vs shape
    By Jacc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2016, 02:52 PM
  4. Shape size based on text in shape
    By mwc48910 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2011, 05:43 AM
  5. How to change shape text without selecting shape
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2009, 06:27 PM
  6. Retrieve Shape text when more than 255 characters inside shape
    By Wizz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2009, 10:09 AM
  7. Is Shape a textbox
    By sanjay in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-05-2008, 08:28 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