Snap an object to a cell border via macro
Hi Greg, I was just fooling around with that and tried
.right = Range("A1").right
.bottom = Range("A1").bottom
(pretty obvious, really) and it debugs. When I typed the right in lower case
it auto-corrected it, so I thought that it might work, but it doesn't like
Right or Bottom it seems. Any clues?
Brett
"Greg Wilson" wrote:
Try:
With ActiveSheet.Shapes("Text Box 1")
.Left = Range("A1").Left
.Top = Range("A1").Top
End With
Greg
|