+ Reply to Thread
Results 1 to 6 of 6

Link cell to textbox (non-macro) and include additional text as well

  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Link cell to textbox (non-macro) and include additional text as well

    I would like to enter a value in a cell (eg. 999) and have a textbox automatically update with "The result is $999".
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Re: Link cell to textbox (non-macro) and include additional text as well

    Any chance you could just hide a cell with "The result is" somewhere in your workbook and then use the ampersand to reference the two cells to make your statement?

  3. #3
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Link cell to textbox (non-macro) and include additional text as well

    Thanks, but the text in the textbox is a formatted paragraph and I would prefer this be in a textbox.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Link cell to textbox (non-macro) and include additional text as well

    In another cell (I chose J1) enter ="The result is "&A1

    In the text box change your reference to =J1

    If you want the $ sign enter in J1 ="The result is $"&A1
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Link cell to textbox (non-macro) and include additional text as well

    That's a good point, however I want to be able to easily format the text box paragraph.

    A temporary solution is to move one text box over the other, however this isn't optimal.
    Attached Files Attached Files

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Link cell to textbox (non-macro) and include additional text as well

    Could you possibly use merged cells like in this example as you are finding out quickly the limitations of text boxes. I tried text in a shape but that was a disaster.
    Attached Files Attached Files

+ 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] Editing a Macro to include multiple rows and include text formatting for leading zeros
    By missmea2005 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-04-2014, 09:50 AM
  2. [SOLVED] Include an additional product in a sumproduct formula
    By cpope in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-04-2013, 11:18 AM
  3. VBA - Macro Code to copy textbox text to another worksheet textbox
    By nitram lowm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-05-2013, 08:39 AM
  4. Macro to link cell to embeded textbox on worksheet
    By paxile2k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2011, 03:14 PM
  5. Modifying VBA to include one additional worksheet?
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-22-2010, 11:01 AM

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