I am creating links onto our network throughout our database. We have close to a uniform file naming convention on our network, but on occasion files are named with slight variations. I have established a hyperlink using the exact file name as follows:
LinkName = "S:\DCG-JLF\Plan Files\" & CompanyName & " " & Plan_Type & " " & "{" & PlanFileIdentifier & "}" & "\Administration\Intro Letter.doc"
Application.FollowHyperlink LinkName, , True, True
The problem is for the slight variations in file names. How do you use wildcard characters in the hyperlink? The file will always have "S:DCG-JLF\Plan Files". Beyond that, I can only be sure of the PlanFileIdentifier, the sub folder and certain key words for the actual file name. Any help would be greatly appreciated, everywhere I have looked for this has been a dead end.
Thanks,
J
LinkName = "S:\DCG-JLF\Plan Files\" & CompanyName & " " & Plan_Type & " " & "{" & PlanFileIdentifier & "}" & "\Administration\Intro Letter.doc"
Application.FollowHyperlink LinkName, , True, True
The problem is for the slight variations in file names. How do you use wildcard characters in the hyperlink? The file will always have "S:DCG-JLF\Plan Files". Beyond that, I can only be sure of the PlanFileIdentifier, the sub folder and certain key words for the actual file name. Any help would be greatly appreciated, everywhere I have looked for this has been a dead end.
Thanks,
J