Solved

Capital Letters In Filenames

Posted on 2001-07-08
4
510 Views
Last Modified: 2012-06-27
Hi!
I'm working on a program that renames multiply files. The files contains underscore and the program replaces them with space.

My program changes the filename from:
the_files_looks_like_this.txt
to:
the files looks like this.txt

I'm looking for another feature for my program which is a function that change the small letters to capital letters so the file looks like this when all changes has been made. Now the file should look like this:
The Files Looks Like This.txt
0
Comment
Question by:Ecmil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
Inteqam earned 50 total points
ID: 6262349
StrConv(YourString,vbProperCase)
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6262350

StrConv("the files looks like this.txt",vbProperCase)
would produce
The Files Looks Like This.txt
0
 

Author Comment

by:Ecmil
ID: 6262357
Excellent!!!

Thanks a lot!!!!
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 6262359
anytime
:)
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question