wackywoo105
Registered User.
- Local time
- Yesterday, 17:18
- Joined
- Mar 14, 2014
- Messages
- 203
I have used the code below for many years without issue
The files it opens are either jpg, pdf or docx.
Previously they would just open in windows explorer as if you have clicked on them. As of today for jpg the code just opens Internet Explorer. I thought I would get rid of IE, so removed it from windows. Now I just get "No program is registered to open this file." error. For docx and pdf it still works. I can click the jpg files and they open with windows photos (which is set a default app) as normal, it just doesn't work using Application.FollowHyperlink anymore.
Does anyone know why the sudden failure and how to fix this?
Code:
Application.FollowHyperlink "C:\ProgramData\folder\temp." & filetype
The files it opens are either jpg, pdf or docx.
Previously they would just open in windows explorer as if you have clicked on them. As of today for jpg the code just opens Internet Explorer. I thought I would get rid of IE, so removed it from windows. Now I just get "No program is registered to open this file." error. For docx and pdf it still works. I can click the jpg files and they open with windows photos (which is set a default app) as normal, it just doesn't work using Application.FollowHyperlink anymore.
Does anyone know why the sudden failure and how to fix this?