Solved

Capital Letters In Filenames

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now