Normal open file statement in VBA

ms-access, ms-access-2010, vba

Solution

To open a word, excel, jpg, pdf or any file, simple use:

Application.FollowHyperlink "path to file name"

Problem

I´m trying to open a file but it´s not working. ``` Workbook.Open C:\users\me\desktop\testfile.txt ``` I always get the error message: Run-time error '424': Object required I just want to open a file. It´s not fixed if the file will be a exel, a txt, jpg or word file. Should be as simple as possible.

Original source