+ Reply to Thread
Results 1 to 2 of 2

Controlling the position of a Text Box shape within a sheet

  1. #1
    Forum Contributor
    Join Date
    08-20-2011
    Location
    Oslo
    MS-Off Ver
    MS 365
    Posts
    245

    Controlling the position of a Text Box shape within a sheet

    Hi,

    I am working in Excel 2016 for Mac and have added a text box to a sheet, thus: Insert -> Text Box

    To display the content of a range in the Text Box, I've selected the Text Box and then entered =$A$1 in the Formula Bar. $A$1 contains a concatenated list made from values in a range of other cells, separated by several instances of CHAR(10) to produce a list containing Alt+Enter line breaks.

    Now I want to write or produce as a formula result, say, the address $D$22 in cell B2 and with that cause the upper left corner of the Text Box to be positioned in cell $D$22. If I change the address written in B2, the Text Box will move again.

    I suppose this would be possible with a user defined function in VBA or something. Can anyone please take a look at this?

  2. #2
    Registered User
    Join Date
    04-28-2014
    Location
    Florida
    MS-Off Ver
    Excel 2007, 2010, 2011 Mac. 2013,2016. I use 2011 and 2016 the most
    Posts
    90

    Re: Controlling the position of a Text Box shape within a sheet

    http://www.mrexcel.com/forum/excel-q...cations-2.html

    Maybe this link will help

+ 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. Controlling Image position through VBA
    By KamranMustafa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2016, 11:28 AM
  2. Controlling shape position using VBA
    By roey b in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-14-2014, 04:04 AM
  3. Fix Position of a Shape, Button and Text Box
    By oxicottin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-07-2012, 10:06 PM
  4. Controlling display position
    By barryleajo in forum Excel General
    Replies: 5
    Last Post: 07-22-2010, 02:13 PM
  5. Excel 2007 : Controlling shape attributes from cells values
    By koval.andrey in forum Excel General
    Replies: 4
    Last Post: 09-21-2009, 10:01 AM
  6. Controlling shape formats by cell values
    By koval.andrey in forum Excel General
    Replies: 2
    Last Post: 09-03-2009, 06:43 AM
  7. Controlling Cursors position in Excel
    By rsk_beckon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2009, 10:28 AM

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