Matching line height to text box height.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top