+ Reply to Thread
Results 1 to 2 of 2

login into gmail using maco

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-26-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2019
    Posts
    244

    login into gmail using maco

    Hello,
    I know there is possibility to login into gmail using macro, but I am not able to log there
    I have this macro :
    Sub gmail()
    
       
    Const MyUrl As String = "http://gmail.com"
    Const PostUser As String = "Email=My_mail"
    Const PostPassword As String = "&Password=pass"
       
    
    MyPost = PostUser & PostPassword
       
    With ActiveSheet.QueryTables.Add(Connection:= _
        "URL;" & MyUrl, Destination:=Cells(1, 1))
        .PostText = MyPost
        .BackgroundQuery = True
        .TablesOnlyFromHTML = True
        .Refresh BackgroundQuery:=False
        .SaveData = True
    End With
       
    End Sub
    but it only save login page into excel, I know there is possibility tu use IE but I need to use only excel, I will appreciate any help, thanks !

  2. #2
    Forum Contributor
    Join Date
    07-26-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2019
    Posts
    244

    Re: login into gmail using maco

    nothing? please ... I really need it ...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1