Vba Problem

Application.FileSearch doesn't exist??

Page 1 of 1

2 Replies - 4424 Views - Last Post: 28 June 2004 - 02:31 AM Rate Topic: -----

#1 vbDALIN  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 27-June 02

Vba Problem

Posted 21 May 2004 - 06:32 AM

I'm trying to do a file search with VBA for Visio using Application.FileSearch, but I'm getting a "object doesn't support this method.." error. WTF?

Sure enough, FileSearch isn't a member of Application when I go through the object browser; I only find it as a part of the 'Office' library. But I've done this before (granted with Excel instead of Visio and a different release year), but the help file I found does it this way too. It's probably something simple, but any help would be appreciated.

Is This A Good Question/Topic? 0
  • +

Replies To: Vba Problem

#2 vbDALIN  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 22
  • Joined: 27-June 02

Re: Vba Problem

Posted 24 May 2004 - 07:28 AM

Ended up using Dir()...still can't figure what the problem with FileSearch is though.
Was This Post Helpful? 0
  • +
  • -

#3 mi00mf  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-June 04

Re: Vba Problem

Posted 28 June 2004 - 02:31 AM

Microsoft has confirmed me by phone that's a Viso VBA Help's problem. Visio.Application.Filesearch doesn't exist but there's in other Office Application object as Word, Excel, etc. I solve my problem referencing Office 11.0 Object Lybrary, Word 11.0 Object Lybrary and using Application.Filesearch of Word Application Object.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1