EDUCATED MONKEY
Board Regular
- Joined
- Jul 17, 2011
- Messages
- 218
My set up office 2007 win xp pro ie 8
I am using the code below to retrieve web pages etc it works fine, however it display in differ areas of the screen, so I was wondering if there is a way to control the positioning and the size of the window?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o>
I am using the code below to retrieve web pages etc it works fine, however it display in differ areas of the screen, so I was wondering if there is a way to control the positioning and the size of the window?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o> </o>
Rich (BB code):
Rich (BB code):
Rich (BB code):
Set EXP = CreateObject("InternetExplorer.application")
EXP.Visible = True
EXP.Navigate (aurl)
Do While EXP.Busy
Application.Wait DateAdd("s", 1, Now)
Loop
' Application.Wait (Now + TimeSerial(0, 0, 5))
SendKeys "^a"
SendKeys "^c"
Application.Wait (Now + TimeSerial(0, 0, 3))
Worksheets("Recieved Data").Select
Worksheets("Recieved Data").Range("A1").Select
ActiveSheet.PasteSpecial Format:="text", LINK:=False, DisplayAsIcon:= _
False
Application.ScreenUpdating = True