Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • Last Modified:

resize browser in vba

Hello Experts. I don't know if this is the right question to ask, but it's the only way I can think to resize a form, that contains a browser, to the Height & Width of that browser upon loading. You see, there's this additional width of about 3/4 inch that I can't seem to get rid of on the right hand side of the browser. Real pain in the neck. So, if any of you Experts out there know how I can do this in VBA, please tell me.
Many kind thanks in advance,
John
0
John Account
Asked:
John Account
  • 3
  • 2
1 Solution
 
John AccountAuthor Commented:
Ooops...Typo. Title of the Question was meant to read: Resize Form to Browser in VBA.
0
 
shanesuebsahakarnCommented:
Do you mean you can't get rid of the 3/4 in design view or when in form view?
0
 
John AccountAuthor Commented:
in form view.
0
 
shanesuebsahakarnCommented:
Set the form's Autoresize property to "No". Now open the form in form view and size the form how you need it to be. Press CTRL+S (or click File->Save) to save it. Once you reopen the form, it *should* have kept the same size as when you saved it.
0
 
John AccountAuthor Commented:
You're the best, shanesuebsahakarn. Thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now