Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi QV experts,
Below code snippet is not working and doesn't even report any errors. Is there any issues already reported pertaining to setting MaxNumberShown ?
set chart = ActiveDocument.getSheetObject("CH01")
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).MaxNumberShown = 4
cp.ChartProperties.XAxisScroll = true
chart.SetProperties cp
Thanks in advance
HI,
I found way to do this Below code worked for me
set chart = ActiveDocument.getSheetObject("CH01")
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).MaxNumShown.v = 5
cp.ChartProperties.XAxisScroll=true
chart.SetProperties cp
HI,
I found way to do this Below code worked for me
set chart = ActiveDocument.getSheetObject("CH01")
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).MaxNumShown.v = 5
cp.ChartProperties.XAxisScroll=true
chart.SetProperties cp