Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count hyperlinks in a mixed range

I have a range of text cells storing model numbers. As I get the associated
mfg document for the model number I hyperlink that doc to it's model number.
I'd like to be able to count the hyperlinked documents or a range of cells
examining the text range cells to calculate % completion.

Any ideas?

Many thanks in advance.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Count hyperlinks in a mixed range

Hi,

Try this VBA function

Function CountHL(myRange As Range) As Long
CountHL = myRange.Hyperlinks.Count
End Function

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Ted Stilwell" wrote:

I have a range of text cells storing model numbers. As I get the associated
mfg document for the model number I hyperlink that doc to it's model number.
I'd like to be able to count the hyperlinked documents or a range of cells
examining the text range cells to calculate % completion.

Any ideas?

Many thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count hyperlinks in a mixed range

Shane,
Fantastic! .
I don't see a Yes button but if I did I'd be pushing it.
Thank you again
Ted

"Shane Devenshire" wrote in
message ...
Hi,

Try this VBA function

Function CountHL(myRange As Range) As Long
CountHL = myRange.Hyperlinks.Count
End Function

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Ted Stilwell" wrote:

I have a range of text cells storing model numbers. As I get the
associated
mfg document for the model number I hyperlink that doc to it's model
number.
I'd like to be able to count the hyperlinked documents or a range of
cells
examining the text range cells to calculate % completion.

Any ideas?

Many thanks in advance.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count to end of Range John Excel Worksheet Functions 2 April 24th 08 04:23 PM
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM
Excel should let you remove hyperlinks for any range or selection Mark B Excel Discussion (Misc queries) 1 May 3rd 06 09:09 PM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM
Count cells in one range based on parameters in another range dave roth Excel Worksheet Functions 2 March 29th 05 05:33 PM


All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"