Check for broken formula hyperlinks for local files (Excel - VBA) -


an automatic hyperlink created in table once user enters number in column

the formula following:

hyperlink(config!$d$2 & config!$c$2 & "-mech-" & text([@serial],"000") & "\" & id_wcode & "-" & config!$c$2 & "-mech-" & text([@serial],"000") & "-" & text([@[rev.]],"00") & fileext,"open") 

the cell references in formula contains path pre-defined folder system structure , naming pattern both files , folders.

id_wcode = constant number defined each workbook

fileext = ".pdf"

the links working fine need tell user "file not found" if file isn't placed yet in folder and/or not following naming pattern.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -