PDA

View Full Version : [VBA] inserire stringa in FileDialog aperto da sito web


hello
04-11-2013, 14:32
Ciao,
utilizzo la seguente macro per aprire il FileDialog dal sito web:

Sub Macro()
Dim IE As Object
Dim spath As String
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "digilander.libero.it/mar_esp0/"
IE.Visible = True
Do While IE.Busy Or IE.ReadyState <> 4
DoEvents
Loop
IE.Document.all("fname").Click
End Sub

Come faccio a inserire automaticamente la stringa ""C:\Documenti\pippo.txt" nel campo Nome file di questo FileDialog aperto dal sito web?

:help: