MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Apr 5th, 2002, 08:46 AM   #1
Aphex Kid
New Member
 
Join Date: Feb 2002
Posts: 12
Default


I'm often in a situation in Excel where I need to format a column of text into proper Title Case. Unfortunately, I've yet to find an Excel plugin that can do this conversion intuitively. Right now, I'm using a plugin that gives me a 'Change Case' option straight off the 'Edit' menu. From there, I can convert highlighted text into Upper Case, Lower Case or Title Case.

It's a decent utility, but as I've said, it's not very intuitive. For example, it'll change the following line:

"ISN'T VERY INTUITIVE"

to this:

"Isn'T Very Intuitive"

Kind of a pain in the butt, especially when you're *constantly* having to go back and correct text.

Can anyone recommend a more suitable alternative? Surely there must be some functional Title Case plugins out there...

Thanks!

AK
Aphex Kid is offline   Reply With Quote
Old Apr 5th, 2002, 08:54 AM   #2
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

ASAP Utilities' free add-in (www.asap-utilities.com) has a Text | Start Each Word With Uppercase menu command that works quite nicely.
Mark W. is offline   Reply With Quote
Old Apr 17th, 2002, 07:33 AM   #3
Aphex Kid
New Member
 
Join Date: Feb 2002
Posts: 12
Default

Hm. Looks like we're back to square one. The ASAP thing is nice, but it's also having problems with very basic formats. ie.

(convert this to uppercase)

BECOMES

(convert This To Uppercase)

Not so good. Any other suggestions?
Aphex Kid is offline   Reply With Quote
Old Apr 25th, 2002, 09:02 AM   #4
Aphex Kid
New Member
 
Join Date: Feb 2002
Posts: 12
Default

(bump)
Aphex Kid is offline   Reply With Quote
Old Apr 25th, 2002, 09:08 AM   #5
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-04-17 06:33, Aphex Kid wrote:
Hm. Looks like we're back to square one. The ASAP thing is nice, but it's also having problems with very basic formats. ie.

(convert this to uppercase)

BECOMES

(convert This To Uppercase)

Not so good. Any other suggestions?
I don't understand your issue. What ASAP utility command are you questioning?
Mark W. is offline   Reply With Quote
Old Apr 25th, 2002, 09:12 AM   #6
Aphex Kid
New Member
 
Join Date: Feb 2002
Posts: 12
Default

The Title Case.

It doesn't apply to anything inside parenthesis. There are also a couple of other situations when it doesn't work probably which escape me at the moment..

Point being, the ASPI Title Case plugin isn't particularly swift. Any alternatives?
Aphex Kid is offline   Reply With Quote
Old Apr 25th, 2002, 09:23 AM   #7
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-04-25 08:12, Aphex Kid wrote:
The Title Case.

It doesn't apply to anything inside parenthesis. There are also a couple of other situations when it doesn't work probably which escape me at the moment..

Point being, the ASPI Title Case plugin isn't particularly swift. Any alternatives?
Why don't you email Bastien Mensink, bastien@asap-utilities.com, and report your concern. Perhaps it can be addressed with the next release.
Mark W. is offline   Reply With Quote
Old Apr 25th, 2002, 10:03 AM   #8
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

If the set of chars that cause improper casing is small and known wrt your text values, you could try to use a formula approach.
Aladin Akyurek is offline   Reply With Quote
Old May 9th, 2005, 09:42 PM   #9
nbrcrunch
Board Regular
 
Join Date: Jan 2003
Location: CA, Bay Area
Posts: 1,976
Default

Well, in the absence of a final reply, I also needed the same thing. There is probably a more straightforward way of doing this, but I'm pretty proud of being able to create this from scratch. (Yeah, I should be much more advanced for the all time I've spent reading about it, but I'm not.)

Use: Select a range, run the macro.

Sub ProperMe()
Dim c As Range
Dim temp As String

For Each c In Selection
temp = c

c = "=proper(" & Chr(34) & temp & Chr(34) & ")"
Next

Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues

End Sub
nbrcrunch is offline   Reply With Quote
Old May 9th, 2005, 11:35 PM   #10
nbrcrunch
Board Regular
 
Join Date: Jan 2003
Location: CA, Bay Area
Posts: 1,976
Default

Well, now I know I'm losing my mind. Supposedly, I wrote this in June of 2001. It will allow you to choose which casing you want....

Sub CaseTheJoint()
' Written by: Bartholomew 6/4/2001
MyMode = "U"
fonter = InputBox("Which Case?" & Chr(13) & "U=Upper, L=Lower, P=Proper", "Font Caser", MyMode)
Select Case fonter
Case "U"
For Each cell In Selection
cell.Value = UCase(cell.Value)
Next cell
Case "L"
For Each cell In Selection
cell.Value = LCase(cell.Value)
Next cell
Case "P"
For Each cell In Selection
cell.Value = Application.WorksheetFunction.Proper(cell.Value)
Next cell
End Select
End Sub
nbrcrunch is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes