I'm generating charts in a form from VBA, and have two problems connected to this:
1. I'm using the following code to set the spacing for tickmark/ticklabel
This is working fine-But never the first time I'm running my code. I allways need to run my code twice to get it to work.
Have allready tried
2.
When the input on x-axis is of date-formate, it has been impossible for me to set the tickmark/ticklabel spacing at all.
1. I'm using the following code to set the spacing for tickmark/ticklabel
Code:
Forms(frmxxx).ctlxxx.object.Axes(xlcategory).TickMarkSpacing=5
Forms(frmxxx).ctlxxx.object.Axes(xlcategory).TickLabelSpacing=5
Have allready tried
Code:
Forms(frmxxx).ctlxxx.object.Reload
When the input on x-axis is of date-formate, it has been impossible for me to set the tickmark/ticklabel spacing at all.