Snowflake68
Registered User.
- Local time
- Today, 08:01
- Joined
- May 28, 2014
- Messages
- 464
I have a report list has outlined text boxes which are all lined up nicely to also show the total and the VAT etc. The list of items on the report have which auto resize when the item description increases and decrease.
I have tried the above so that when the description auto resizes I want the UnitPrice height to be set to the same height but I get error 424 object required.
I have double checked the names of the text boxes and they are both correct.
Any ideas?
Code:
Dim numDescHeight As Integer
numDescHeight = txtDescription.Height
txtUnitPrice.Height = numDescHeight
I have tried the above so that when the description auto resizes I want the UnitPrice height to be set to the same height but I get error 424 object required.
I have double checked the names of the text boxes and they are both correct.
Any ideas?