Solved

hyperlink test in excel

Posted on 2008-10-10
5
455 Views
Last Modified: 2013-12-13
Using excel 2007, is there a formula or way to test a GENERATED hyperlink in a cell in EXCEL?  One of my spreadsheets creates a list of hyperlinks and I was wondering if there was a way or forumla to test the hyperlink in each box to see if the file located at the http address pointed to from the cell really exists on the server or not.
0
Comment
Question by:THE_HORSEPOWERSHOP
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:mgonullu
ID: 22693218
0
 

Author Comment

by:THE_HORSEPOWERSHOP
ID: 22791446
Yes, the macro does work, but I cannot igure out how to modfiy it for my needs.  Instead of it popping up a MSG window when it find a bad hyperlink, I want it to CLEAR the cell with the bad hyperlink.  How would I change the macro to accomplish this?
0
 
LVL 9

Expert Comment

by:mgonullu
ID: 22794849
Ok maybe we need to make a loop for every cell then call the function that will perform Cell.ClearnContent()

I will try also and get back to you
0
 
LVL 9

Accepted Solution

by:
mgonullu earned 500 total points
ID: 22806416
Hey I think I found the solution:
The below is an example to do the loop:

Sub LoopCells()
For Each c In Worksheets("Sheet1").Range("a2:f2").Cells
c.Value = "KLP"
Next c
End Sub


The use the function described in this website:
http://www.utteraccess.com/forums/printthread.php?Cat=&Board=84&main=1037294&type=thread

That should work fine
0
 

Author Comment

by:THE_HORSEPOWERSHOP
ID: 22809351
I am working on a different solution but will still try to integrate yours for future use.  Points awarded.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question