Solved

Capital Letters In Filenames

Posted on 2001-07-08
4
500 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
  • 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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 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