Consulting

Results 1 to 5 of 5

Thread: Sleeper: VBA to continuously click email hyperlink

  1. #1
    Banned VBAX Newbie
    Joined
    Jul 2023
    Posts
    1
    Location

    Sleeper: VBA to continuously click email hyperlink

    Hi guys,

    Can I know how to construct VBA script to continuously click all the hyperlink in rows that has instruction to send email?

    I have attached an Excel sheet. When the hyperlink shows "send email", it will auto click all of it, then an Outlook mail will populate all the email details but need to click Send button.

    send_email.png

    My Excel with send email instruction and email details:
    https://docs.google.com/spreadsheets...f=true&sd=true

    Thank you.

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    337
    Location
    You did not attach file, must be downloaded.

    Follow instructions at bottom of my post to attach file.

    You want code to 'click' each "Send Email"? Only the first one has expression with valid email address.

    I don't know how to replicate cell click. Would be easy to loop email list and execute VBA FollowHyperlink method.
    Last edited by June7; 07-26-2023 at 11:50 PM.
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,720
    Location
    Be as you wish to seem

  4. #4
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,064
    Location
    Kan88, its very disappointing to see cross posting so early in the life of the thread, particularly when you failed to indicate that you've posted the issue elsewhere... The rule across almost every vba forum regarding cross posting is similar. When you gain a reputation for cross posting, it makes others unlikely to offer you further assistance, and you really don't want to be in that situation.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  5. #5
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,064
    Location
    Well I'm kind of not surprised. When a person is called out for cross posting.. as has Kan88, there are two clear options. Step up (which requires courage) and accept that you done wrong, or hide amongst the shadows. Sadly it seems Kan88 has chosen the latter, therefore you can hit the showers, you will not be asked to participate any further in the game.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

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