?
Solved

hyperlink test in excel

Posted on 2008-10-10
5
Medium Priority
?
459 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Suggested Courses

777 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