searching files disk

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Searching for files on disk

Searching for files on disk

resolvedResolved · Low Priority · Version 2003

Anna has attended:
Excel VBA Intro Intermediate course

Searching for files on disk

User provides a path and a name of a file, but a file with the name exactly as the user provided might not exist. However a very similar file exists. It might also happen that the file user asks for and a very similar one exist. How can I search for files with names similar to what the user asks for and if there are a few similar files -- open the one created the latest.

RE: searching for files on disk

You could use the Like operator (check it out in online Help), which will match with a pattern. For example, the pattern "ABC*" matches all strings which start with "ABC".

/Roy


 

Excel tip:

Highlighting only Text cells

To select onlt text value cells in a spreadsheet, click on Edit-Go to(F5)


In the Go To dialog box, click Special.
In the Go To Special dialog box, select Constants.
Click OK.

View all Excel hints and tips


Server loaded in 0.06 secs.