var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
setting pageheader hieght with vba
i have 2 rows of labels in my page header, i would like to hide the second row sometimes, but this leaves a big blank in my header, i tried
me.PageHeader.Height = 1.7917
but i get a compile error " Invalid qualifier"
also, can i set the height smaller than the lowest group of labels in that area if i set thier visible = false?
Me.PageHeaderSection.Height = 1.7917 * 1440
Always remember....When in design view the Properties deal with Inches (or cm) but in code...you need to convert to Twips. 1" = 1440 Twips.
to your second question...No. You will need to reduce their size as well.
Last edited by CyberLynx; 11-19-07 at 23:00.
Self Taught In ALL
Environments.....And It Shows!