Solved

resize browser in vba

Posted on 2004-09-13
5
403 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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…

831 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