LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Branching in IE via XL Macro: pt I

I have a nice little utility that jumps to a specfic project in a web app by
project number. Fortunately the URL of the web app ends with the project
number so that part was easy, the cell looks like this:

=HYPERLINK('Work Area'!$B$6&C44, C44&" WOs")

B6 calculates the URL from the project number and C44 holds the project
number.

The web app requires a log in. If the app has not timed out the project
window opens but if it has timed out an error window opens, so I then use a
Windows macro program to do the following:

Watch for the IE window that contains the win apps error message
Tab to the Login link, enter
Wait for the Login screen
Tab to the user name field and enter the user name
Tab to the PW field, type the PW and enter
Wait for the win app welcome screen (you are now logged into the app)
Minimize the win app window
Make Excel the active window
Loop back and wait for the next error message

I would like to incorporate these steps into Excel so the utility can be
distributed throughout the company without the need for the Windows macro
program.

1. Can IE be controlled from an Excel macro in this way?
2. What code do I use to check whether the win apps error screen results
from a Hyperlink?

Thanks in advance for any assistance!
ed
 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
branching macro Branching macros Excel Programming 15 September 12th 07 05:45 AM
Branching Logic after SENDMAIL CPodd Excel Worksheet Functions 0 February 9th 07 04:36 PM
Branching Drop Down Menu tnvis Excel Discussion (Misc queries) 1 October 24th 05 09:02 PM
Branching in a macro BillShut Excel Programming 1 February 16th 04 10:35 PM
Branching Macro Paul Moles[_2_] Excel Programming 2 November 6th 03 03:28 PM


All times are GMT +1. The time now is 09:33 AM.

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"