View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Martin Honnen Martin Honnen is offline
external usenet poster
 
Posts: 1
Default Automating Internet Explorer with Excel VBA and JavaScript



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/