N
Nancy22
This bit of code is in a macro that used to run fine under Word2003:
With Application.FileSearch
.NewSearch
.LookIn = "c:\My Documents\myfile"
.SearchSubFolders = False
.FileName = lookFor
Now under Word2007, when I try to run the same macro, it stops at that line
and I get the error message "Run-time error 5111: This command is not
available on this platform."
What does this mean and how can I fix my old macro so that it works?
With Application.FileSearch
.NewSearch
.LookIn = "c:\My Documents\myfile"
.SearchSubFolders = False
.FileName = lookFor
Now under Word2007, when I try to run the same macro, it stops at that line
and I get the error message "Run-time error 5111: This command is not
available on this platform."
What does this mean and how can I fix my old macro so that it works?