I am creating labels through VBA and Im running into issues with sizing.
One of my issues is that Label.SizeToFit is altering the width of my form. I have a form which I'd like to be 14" wide. I defined this before I placed any labels on the form. When I put a label on the form that has a caption longer than the defined label width (say 12") and call the .SizeToFit method, Access with automatically choose to adjust the width of the label instead of the height. This causes the label expand (let's say to 15"). This in turn causes my form to grow to 15" and is not the desired result.
I'd like for the label to only expand vertically and have it not change the defined width of the label. Funny thing is when I do this manually, (RightClick-Size-ToFit) it chooses to size the same label vertically.
Anyone have any experience with these.