• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Insert call values/references inside of a shape

Let's say I insert a rectangle. And in the rectangle I want to enter a reference to a cell so that the cells value appears in the rectangle, similar to how you can enter a cell reference in a Chart Title box so that the title box is linked to a cell.

So far this isn't working. Is this even possible?
 
use a helper cell..
for example..
if a1 has formula.. =b1 *13
then in c1 use formula as =a1.
and now in shape use formula as =c1.

I gave that a try, but I couldn't get it to work. I have a file attached.
 

Attachments

  • Formulas inside of shapes.xlsx
    8.8 KB · Views: 14
Hi,

Click the shape to select it then left click in the formula bar and type = and then select C1 and tap enter. See attached file.

Beautiful. Got it. This will help me so much. Now I won't have to worry about adjusting columns to make things just right. Thank you very much.
 
Hi ,

Using VBA , the following statement will return the value from a shape :

Activesheet.Shapes(1).TextEffect.Text

The highlighted 1 needs to be changed to suit.

Narayan
 
Thanks Narayan. :)

I should have specified that I was looking for a way to reference it without using VBA, but I don't think that's going to possible. I could create a custom function but I was kind of hoping there was a more native way of referencing the text.

Jason
 
1. Use a "Helper Cell".
2. Link all your context as normal formula in some cell.
3. Now, link that cell to the one, exactly behind your shape.
4. Now, set the "Shape Fill" to "No Fill"".

PS: Cell in Point 2 and Point 3 can be same.

Check the attachment.
 

Attachments

  • Link in Shape.xlsx
    9.2 KB · Views: 22
Back
Top