Automatic height in detail section

Tiannra

New Member
Joined
Mar 17, 2011
Messages
2
I haven't used Access before and am trying to generate a Report from a Query.

I have built the Report successfully, however am having trouble adjusting the height of the rows in the Detail Section.

I want the row height to fit the text, if there are two lines in the row, then have an automatic height of two rows. If only one line in the row, then automatically adjust the height to one row. Like wrap text in Excel.

In my Report, I only have the one row height, adjust in Detail by using the mouse to drag up the detail section as much as possible to the text. Is there another way?

I hope I have given enough detail of what I'm trying to do for someone to help me.

I don't want to have to transfer all this text over to Excel just to change the height of the rows.

Hope there is someone who knows what I'm talking about.

Cheers,
Tiannra :)
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Set the CanGrow and CanShrink properties to Yes, in all controls in the Detail section and the Detail section itself.

Denis
 
Upvote 0
Thanks for that. I only had those as Yes in the detail section, not in each individual text box in the detail section.

Wonderful.

Yay!

:laugh:
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top