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: 100
Default Using VBA to send a javascript:opendocument command, then grab information from the active IE6 window

I need to automate the cataloging of some files that are only available to
me via a web interface. They are opened from within existing web pages using
<A Href=javascript:OpenDocument('12345678'); where 12345678 is a unique
document ID.

I have the URLs of the web pages that host these documents (I'm building
them in an array in VBA) but I need help with two things:

(1) If I have the host page URL and the unique documentID, how can I pass
those back to the server (presumably through IE6?) to load the document in a
browser window? I believe that the documents are all .doc or .pdf

(2) Once that document is open and therefore exposes it's true path in the
URL window in IE6, is there any way I can capture that URL from IE and bring
it back into Excel to store in my records?

Thanks!
Keith


 
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
Trying to Send a Keystroke to a specific Window Jason Zischke Excel Programming 2 February 1st 08 01:25 AM
Automating from javascript - can't get Excel window to front [email protected] Excel Programming 0 August 3rd 06 03:24 PM
Send key in an inactive window abcsms Excel Programming 2 July 11th 06 11:44 AM
How do I undo the Excel, Window Menu, New Window command OLDFANG Excel Discussion (Misc queries) 2 March 17th 06 05:31 PM
Macro to active Menu Command of FileSend ToRouting Recipent Mike R. Excel Programming 2 January 6th 05 12:25 PM


All times are GMT +1. The time now is 12:21 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"