Don't know about your code, but the code below will Size a chart to the cordinants of the listed cell range.
Code:Sub SizeChart() Dim MyRange As Range Set MyRange = Sheets("Sheet7").Range("C3:I16") ' Position Chart to cell cordinants With ActiveSheet For I = 1 To .ChartObjects.Count .ChartObjects(I).Left = MyRange.Left .ChartObjects(I).Top = MyRange.Top .ChartObjects(I).Width = MyRange.Width .ChartObjects(I).Height = MyRange.Height Next I End With End Sub


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks