Resizing an internet explorer session opened by Outlook macro

G

Guest

I have designed a macro and attached it to a button on all opened emails

What the code does is resize the open email so that it takes up the left hand half of the screen and then opens an internet explorer session

What i want to do next is to resize the open internet explorer session so that it takes up the right hand half of the screen

Below is the code i've already written, any help would be great

Thank

Set objInspector = myolapp.ActiveInspecto
objInspector.Left =
objInspector.Width = 51
objInspector.Top =
objInspector.Height = 74
Set objInspector = Nothin

Dim objIEApp As SHDocVw.InternetExplore

On Error Resume Nex

Set objIEApp = CreateObject("InternetExplorer.Application"

objIEApp.Navigate "www.echobdl.co.uk
objIEApp.Visible = Tru

Set objIEApp = Nothing
 
K

Ken Slovak - [MVP - Outlook]

Look in the Object Browser for the properties of that object. It has
..Height, .Left, .Top and .Width properties as well as a Boolean .Resizable
property.




Gillian Donald said:
I have designed a macro and attached it to a button on all opened emails.

What the code does is resize the open email so that it takes up the left
hand half of the screen and then opens an internet explorer session.
What i want to do next is to resize the open internet explorer session so
that it takes up the right hand half of the screen.
 
G

Guest

Is it possible for me to resize the screen using the code i used previously to resize the open email all be it slightly altered

I have tried to alter it and set the active inspector to see the internet explorer session but i seem to be hitting a brick wall

Thank

Gillia

----- Ken Slovak - [MVP - Outlook] wrote: ----

Look in the Object Browser for the properties of that object. It ha
..Height, .Left, .Top and .Width properties as well as a Boolean .Resizabl
property

--
Ken Slova
[MVP - Outlook
http://www.slovaktech.co
Author: Absolute Beginner's Guide to Microsoft Office Outlook 200
Reminder Manager, Extended Reminders, Attachment Option
http://www.slovaktech.com/products.ht
 
K

Ken Slovak - [MVP - Outlook]

They don't interact and they aren't aware of each other. You must set up the
screen coordinates you want for each and you also should be taking into
account the user's screen resolution. What looks good at 1024x768 might not
at 800x600 or other screen resolutions.




Gillian Donald said:
Is it possible for me to resize the screen using the code i used
previously to resize the open email all be it slightly altered?
I have tried to alter it and set the active inspector to see the internet
explorer session but i seem to be hitting a brick wall.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top