ififthelement
New Member
- Joined
- Sep 11, 2014
- Messages
- 48
Hi,
I have a shape object (Rectangle - transparent) inside which i have Excel Line charts (referred by ChartObject). There are 4 charts inside this Rectangle. All of these are Grouped. The chart at the bottom that i want to specify with TOP/Left/Width/Height, based on the available space on the sheet, consumes the properties well but only at the first attempt correctly.
Next time when i hit reposition, it move a little further upwards and so on.
Reposition has the code given below:
There are few charts above DefectTrend chart object. so each time i reposition, it moves upwards & overlaps the chart above it.
any suggestions
I have a shape object (Rectangle - transparent) inside which i have Excel Line charts (referred by ChartObject). There are 4 charts inside this Rectangle. All of these are Grouped. The chart at the bottom that i want to specify with TOP/Left/Width/Height, based on the available space on the sheet, consumes the properties well but only at the first attempt correctly.
Next time when i hit reposition, it move a little further upwards and so on.
Reposition has the code given below:
Code:
With ActiveSheet.ChartObjects("DefectTrend")
.Left = 8.2
.Width = 1140
.Top = 1360
.Height = 325
End With
There are few charts above DefectTrend chart object. so each time i reposition, it moves upwards & overlaps the chart above it.
any suggestions
