LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Automating Internet Explorer with Excel VBA and JavaScript

Martin,

Many thanks for this advice. It worked!

I had to be selective about which elements to include it with, some
didn't accept it and I'll try and work out the reason why later, but
after including it with the selected elements there were no error
messages after the Submit button was clicked (programatically of
course).

Many thanks again, appreciate you taking the time to assist.

Best regards,
Chris Adams



Martin Honnen wrote:
wrote:


With IeApp.Document.forms("form")
' Fill in names - these are the elements that need to be filled
in to un-grey the others
For i = 0 To 4
nm = "sources[" & i & "].name"
.elements(nm).Value = "S" & i


Try whether doing
.elements(nm).onchange
here helps.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/


 
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
Automating from javascript - can't get Excel window to front [email protected] Excel Programming 0 August 3rd 06 03:24 PM
Excel/VBA/Internet Explorer Alex[_30_] Excel Programming 1 November 22nd 05 05:09 PM
Excel Macro cannot Run at Internet Explorer 6 WCNW Excel Programming 1 August 17th 05 03:51 AM
Internet Explorer & Excel David Excel Programming 0 February 4th 05 08:51 PM
Excel w/macros from Internet Explorer 6.0 mary Excel Programming 0 October 20th 04 08:25 PM


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