Matching line height to text box height.

  • Thread starter Thread starter Chris Sergent
  • Start date Start date
C

Chris Sergent

I have a text box named txtBox and line named lnLine. I
have the text box set to Can Grow in a report. I would
like for the line to be the same height as the text box. I
wrote the following which did not work:

lnLine.Height = txtBox.Height

This code was written in the On Format Event. Any ideas
how I can get this to work.

Thanks.
 
Back
Top