ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   User Form Frame size (https://www.excelbanter.com/excel-programming/313131-user-form-frame-size.html)

Joe Derr[_2_]

User Form Frame size
 
Is there a way to auto size a UserForm Frame ?

I have code that takes names off a worksheet and adds a bit to it, but
if the name is long.. the frame cuts it off.

Here is my code that captures the name from the sheet..

Private Sub UserForm_Initialize()
Frame2.Caption = Worksheets("Block").Cells(3, 2).Value + "'s Average"
End Sub

Thanks a bunch!

Joe Derr


All times are GMT +1. The time now is 10:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com