Save file

vba Denmark
  • 13 years ago


    I want big help

    Public Sub HentOgGemSide()
        Set IE = CreateObject("InternetExplorer.Application")
        IE.Visible = True
        IE.navigate2 "" ' Get page...
        While IE.Busy: Wend
        Sleep 500
        SendKeys "%Fm", True 'Vis "Save as
        SendKeys HdSt = "C:\fjols\", True 'My path and file name
        Sleep 500
        SendKeys "{TAB}{DOWN}{UP}",

        Sleep 500
        SendKeys "%G", True '
        Sleep 3000 '

        Set IE = Nothing
    End Sub

     This code will not save a file name fjols.mht

    Can someone help me ?



Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“In order to understand recursion, one must first understand recursion.”