draw a circle & get cell's contents on top?

  • Thread starter Thread starter Jack
  • Start date Start date
J

Jack

Re Excel 97 --

Is there a way to draw a circle (I know how to do that) over a cell and get
the cell's contents to appear on top?

Jack
 
Jack

Set the circle's Color Property to 100% Transparent.

Right-click on circle and Format>Colors and Lines.

Contents will show through but not be "on top".

If you want to draw circles around selected cells here's a macro from Bob
Flanagan.

'Draw a Circle Around Highlighted Cells
'This command draws circles. And, it does it around each area that is
'selected, so that you can insert many circles at one time!


Sub My_Circle()
Dim x, y As Single, area As Range

'rotate through areas - this allows multiple circles to be drawn
For Each area In Selection.Areas
With area
' x and y are numbers that are a function of the
' area's height and width
x = .Height * 0.2
y = .Width * 0.2

ActiveSheet.Ovals.Add Top:=.Top - x, Left:=.Left - y, _
Height:=.Height + 2 * x, Width:=.Width + 2 * y

ActiveSheet.Ovals(ActiveSheet.Ovals.Count) _
.Interior.ColorIndex = xlNone
End With
Next area
End Sub


Gord Dibben Excel MVP
 
Select the circle, and in the Formula Bar type "=A1" without quotes.....the
value in cell A1 will appear as tho it be text in the circle...

Vaya con Dios,
Chuck, CABGx3
 
Dynamic text in a circle<g>

Can't remember if I ever knew about that trick, Chuck


Gord
 
Yeah, it's neat, and works good too if you want the result of a formula
inside a drawing object....just put the formula in a helper cell somewhere
and do this trick.....


Vaya con Dios,
Chuck, CABGx3



Gord Dibben said:
Dynamic text in a circle<g>

Can't remember if I ever knew about that trick, Chuck


Gord
 
Right-on!........good point to remember, thanks for sharing that.....

Vaya con Dios,
Chuck, CABGx3


"Desert Piranha"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top