ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Provide ability to resize form when open (https://www.excelbanter.com/excel-programming/430925-provide-ability-resize-form-when-open.html)

Jonathan Brown

Provide ability to resize form when open
 

This has got to be an easy thing to do. I've got a floating userform that
I'm using to help the user interact with the workbook. I can't for the life
of me figure out how to set the border style to sizeable. In other words,
allow the user to resize the form by draging the form edges. I'm using the
formname.show vbmodeless code to open the form. even if I take out the
vbModeless option I still can't resize the form. Any help would be
appreciated.

Jim Cone[_2_]

Provide ability to resize form when open
 


Andy Pope has some very nice code here...
http://www.andypope.info/vba/resizeform.htm
--
Jim Cone
Portland, Oregon USA



"Jonathan Brown"

wrote in message
This has got to be an easy thing to do. I've got a floating userform that
I'm using to help the user interact with the workbook. I can't for the life
of me figure out how to set the border style to sizeable. In other words,
allow the user to resize the form by draging the form edges. I'm using the
formname.show vbmodeless code to open the form. even if I take out the
vbModeless option I still can't resize the form. Any help would be
appreciated.

Jonathan Brown

Provide ability to resize form when open
 
That is fantastic. I guess it's not as easy as I was think it would be. The
code that you referred me to worked wonders. Thank you.

"Jim Cone" wrote:


Andy Pope has some very nice code here...
http://www.andypope.info/vba/resizeform.htm
--
Jim Cone
Portland, Oregon USA



"Jonathan Brown"

wrote in message
This has got to be an easy thing to do. I've got a floating userform that
I'm using to help the user interact with the workbook. I can't for the life
of me figure out how to set the border style to sizeable. In other words,
allow the user to resize the form by draging the form edges. I'm using the
formname.show vbmodeless code to open the form. even if I take out the
vbModeless option I still can't resize the form. Any help would be
appreciated.



All times are GMT +1. The time now is 11:48 AM.

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