Getting a shape to contain a cell's value with not much success

rizzo93

Active Member
Joined
Jan 22, 2015
Messages
303
Office Version
  1. 365
I'm having trouble getting a shape to contain text via a formula.

My users are entering values in a number of cells on a worksheet. On another worksheet, I'm concatenating those values (really, variables) along with pre-determined text. The result will be a paragraph of text that's properly structured.

I thought it might help my users if they could see a preview of what their completed text will look like so they could make any changes to it before they copy it and use it elsewhere.

I've tried three methods to produce this "preview window":

1. Using a snapshot with Excel's camera tool. This works but if the text exceeds the cell's dimensions, the image will end up being distorted. So unless there's a way I can continuously have code resize the snapshot, this won't work very well.

2. I've used VBA to assign a cell's value to a shape and text field, but to no avail.

3. I've tried using a regular text box and rectangle shape and have them all use this formula...

=Comments!$F$8

To be clear, this is what I typed into the formula bar for the shapes. The problem is that it only displays a portion of the text in the cell I'm referencing (about 256 characters).

I know there's a character limit in cells, but didn't know that shapes have the same problem.

So is there a workaround for this?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
You could use an activeX Textbox.
 
Upvote 0
No VBA needed, add an ActiveX textbox to the sheet & in properties > Linked cell enter Comments!$F$8
Also select Multiline True
 
Upvote 0
The Linked Cell, of course! I don't know how I overlooked that.

Thanks so much, Fluff!
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top