#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Web pop up

Hi All,

I running macro to get data from web.

step 1 - I will provide login info in excel
step 2 - Once i run the macro, it will open the web page ( Company
web)
step 3 - inputs login info
step 4 - goes to tab ( accounts )
step 5 - finds some accounts
step 6 - clicks save to pdf account.
step 7 - open new pop window & asks to click ok.

I am able to complete till step 6.
step 7 opens new pop window & i am not able write code to click ok.

How can i achieve this.

This company url - so, i can't paste the url here.

Please help me
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Web pop up


Once a person manually navigates on a webpage the connection is lost
between the macro code and the webbrowser. If there is only one web
browser open you can find the web browser application by searcing
through the active processes (the same as if you were using the task
manager). You can also find the application by using the title of the
windows.

The window is the parent to the web application. so once you find the
title of the correct window use the following

AppActivate title[, wait]

You can themn use Active window to get control of the window in VBA.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=206078

http://www.thecodecage.com/forumz

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"