Codematic Excel developers logo
Codematic spreadsheet-excel development image

Rapid Application Development / Advanced Excel Development

 
Products for Excel
Commercial Products:
  - Classic Ribbon
  - Alt-FileSearch
  - Password Remover
Spreadsheet Quality Products
Free Products
Excel Development
Excel Development Index
Excel VBA
- VBA IDE (editor)
- VBA Training
- VBA Best Practice
- VBA Performance
- COM Performance
- VBA Security
Excel and Databases
Excel and Pivot Tables
Excel Add-ins
Worksheet Functions
Excel and xlls
Excel (in)security
Excel testing
Excel and .net
Excel External Links
Excel Developer Types
Professional Excel Development
Excel 2007
Excel 2010
Excel Development Archive
Spreadsheet Services
Spreadsheet Development
Spreadsheet Migration
Spreadsheet Maintenance
Spreadsheet Review
Spreadsheet Management
Resources
Excel User Confs
Consultant Profile
Book Reviews
Links
Other
Site Map

Office File Search

VBA module to add File Search functions to your Access 2007, Excel 2007 and Word 2007 projects

AltFileSearch is a drop in replacement for the Office FileSearch object that was removed in Office 2007.

When Microsoft shipped Office 2007, they removed the Application.FileSearch function. This was a pity for those of us who were using it. The FileSearch object could be used by any of the main Office applications to simplify all manner of file operations.

AltFileSearch is a VBA class module you can simply import into your VBA project to replace the retired FileSearch object. When you click buy now, you'll be taken to a download link where you can download a .zip containing the .cls file. Once you've copied it into your project you simply need to replace any occurrence of "Application.FileSearch" in your project with "New AltFileSearch". For example, if your code read:

Dim x as Application.FileSearch
x.NewSearch
x.LookIn = "c:\"
x.Execute
Set myresults = x.FoundFiles
... then you just need to change it to:
Dim x as New AltFileSearch
x.NewSearch
x.LookIn = "c:\"
x.Execute
Set myresults = x.FoundFiles
... and hey presto, you're back in action. Because it's just a VBA class module, you just need to redistribute your app and the problem's fixed. No need to install ActiveX controls anywhere.

Some properties and methods (such as .MatchAllWordForms; PropertyTests and some of the other rather strange ones) aren't supported by AltFileSearch. Click here to view a detailed list of supported and unsupported methods. It goes without saying that you can have a refund if our module doesn't meet your needs - we're also quite happy to look into extending it if we haven't supported methods that you need.

If you were using the FileSearch object in Office 2003 or earlier, AltFileSearch will help you migrate to Office 2007. You could re-write your FileSearch code by hand to use Dir etc. Or you could import AltFileSearch with a couple of clicks and change broken FileSearch objects to be AltFileSearch objects and be done in minutes.

To buy AltFileSearch go here.

Further documentation is here.

Developer documentation is here.

License info (including details of the right to redistribute) is here.

In summary here is an Object Browser screen shot:

The zip file also contains documentation, demo code and a test harness so you can integrate AltFileSearch quickly and painlessly.

To purchase AltFileSearch please visit our shop here.

 

Upcoming Events:

25 January 2012 - UK Excel Developer Conference - London


Products for sale:

AltFileSearch

Office 2007 FileSearch replacement logo

New information about the missing FileSearch feature in Office 2007 and details of our pragmatic solution (Current price GBP 30.00)


wsUnprotector

worksheet password remover logo

Instant Excel worksheet protection remover and password recovery (Current price GBP 15.00)


Classic Ribbon Tab

classic ribbon for office 2007 logo

Add Excel 97/2000/2002/2003 compatible menu structure to Excel 2007
(Current Price GBP 10.00)


 

Products coming soon:

Link Manager

(Find and control external links in Excel Workbooks)

Due by Q1 2111.

XLAnalyst Pro

(Excel VBA based spreadsheet auditing tool)

Due before the end of 2111.

  ;-)
This page was last reviewed on December 21, 2011

©Codematic Ltd 1999-2011