FileSearch with Office 2007

  • Thread starter Ricardo Rodrigues
  • Start date
R

Ricardo Rodrigues

Hi,

I’ve a code that work fine with Word in Office 2003, but it returns an error
code with Office 2007: “This command is not available on this platformâ€.

The code breaks in the following line: Set fs = Applicaton.FileSearch

Do you know why?
 
K

Karl E. Peterson

Ricardo said:
I’ve a code that work fine with Word in Office 2003, but it returns an error
code with Office 2007: “This command is not available on this platformâ€.

The code breaks in the following line: Set fs = Applicaton.FileSearch

Do you know why?

Are you asking, "Do [we] know why Microsoft chooses to break their programming
languages by not ensuring forward compatability?"

Best anyone can really do on that is speculate. Java-envy, maybe?

http://groups.google.com/groups/search?hl=en&q=Application.FileSearch+office+2007
 
J

Jonathan West

Ricardo Rodrigues said:
Hi,

I've a code that work fine with Word in Office 2003, but it returns an
error
code with Office 2007: "This command is not available on this platform".

The code breaks in the following line: Set fs = Applicaton.FileSearch

Do you know why?

Yes. Microsoft dropped the FileSearch object from the Office 2007 object
model. No, I don't know why.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top