+ Reply to Thread
Results 1 to 2 of 2

webquery from hyperlink in cell via VBA

  1. #1
    Forum Contributor
    Join Date
    07-16-2007
    Posts
    174

    webquery from hyperlink in cell via VBA

    Hi, i have a column of up to 30 cells (A2:A31, usually less though) on a sheet called 'links' that have a hyperlink in each cell. I then have up to 30 sheets that correspond to each cell eg 'sheet1'=A2, 'sheet2'=A3, 'sheet3'=A4, etc.

    Is it possible to use code to have the sheet that corresponds to the hyperlink, display the webdata for that link so that if i alter that particular hyperlink in the cell, the sheet changes to the new web query?

    I have looked on here and google and i think it is possible, but i cannot come up with any code as advanced as that (yet!!)

    Regards, Jamie

  2. #2
    Forum Contributor
    Join Date
    07-16-2007
    Posts
    174
    i have cracked it, just in case anyone else needs this at some point:

    http://http://www.jkp-ads.com/articles/WebQuery.asp

    regards,

    Jamie

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to copy cell comments to a new cell?
    By MyBrainhURTS in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-04-2009, 11:20 AM
  2. How to display macro result (cell ref) as hyperlink
    By rajsa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2008, 08:02 AM
  3. Creating a hyperlink with a macro
    By Dror in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-18-2007, 05:47 PM
  4. using cell content to reference a worksheet tab name in second workbook
    By Conor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2007, 09:32 AM
  5. Hyperlink to set cell value
    By ResulG in forum Excel General
    Replies: 10
    Last Post: 11-24-2006, 07:31 AM

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