Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking Shapes to Cell Values

Status
Not open for further replies.

ColourfulMoney

Technical User
Sep 13, 2007
1
CA
I'm looking for help with taking the values written in cells to pasting them into a shape, like a circle. More specifically, it would need to be bunch of cells (500-1000) shown on one large circle.

As a background, I've written code that determines transient temperatures in a circular cross-section, but would like to display those temperatures in a graphical manner, such as on a circle shaped much like a bulls-eye.
 

Code:
Public Function grr(gage, value As String)
Worksheets("sheet5").Shapes("display" & gage).TextFrame.Characters.Text = value

End Function
 
I'd rather try to use two (grouped) shapes, without vba. The steps:
- add and format backgrount shape,
- select and copy the range with data, select shape, hold SHIFT + Edit>Paste picture link (from menu)
- move copied picture onto background, resize if necessary, group.
As the paste picture link shows a part of sheet as picture, if you format source range, it will be reflected on the picture too.

combo
 
Have you thought about taking the cell values to a pie chart and displaying values?

Regards,
Zack Barresse

Simplicity is the ultimate sophistication. What is a MS MVP? PODA
- Leonardo da Vinci
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top