Consulting

Results 1 to 5 of 5

Thread: Using Excel to Tab through IE

  1. #1

    Using Excel to Tab through IE

    Hey guys

    I'm basically trying to get Excel to, that when you press the button on the sheet to Alt-TAB to IE then tab to the link, enter, tab enter etc etc

    I've tried to use SendKeys "%{TAB}" but that is as far as it gets I add more lines to tab and enter but it seems very temperamental and doesn't want to work at all now, is there any other way to get it to browse to a webpage? Note: I have tried directly going to that page, but its not that simple as javascript is used and I can't get access to the web address

    Do I have to use SendKeys? Or is there another way I dont know about?

    Thanks for your help

  2. #2
    what I should have added was when I eventually get to the page I need is to Select All and Copy then get Excel back up and paste into the sheet.

  3. #3
    Quote Originally Posted by wildpianist
    what I should have added was when I eventually get to the page I need is to Select All and Copy then get Excel back up and paste into the sheet.

    Ive been trying to control IE too but since IE is running in the background, the sendkeys doesnt seem to work..

  4. #4
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Have you tried FollowHyperlink?
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  5. #5
    VBAX Mentor
    Joined
    Oct 2007
    Posts
    372
    Location
    Have you also tried just doing a webquery?

Posting Permissions

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