Solved

hyperlink test in excel

Posted on 2008-10-10
5
453 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now