Solved

resize browser in vba

Posted on 2004-09-13
5
405 Views
Last Modified: 2010-05-18
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
Comment
Question by:John Account
  • 3
  • 2
5 Comments
 

Author Comment

by:John Account
ID: 12050292
Ooops...Typo. Title of the Question was meant to read: Resize Form to Browser in VBA.
0
 
LVL 41

Expert Comment

by:shanesuebsahakarn
ID: 12050338
Do you mean you can't get rid of the 3/4 in design view or when in form view?
0
 

Author Comment

by:John Account
ID: 12050420
in form view.
0
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 200 total points
ID: 12050441
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
 

Author Comment

by:John Account
ID: 12050460
You're the best, shanesuebsahakarn. Thanks!
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question