Does anyone have a MACRO or simple solution to change all UPPERCASE text in a cell into Proper format (1st letter of word is capatalized and rest are lower case).
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Change all Text to PROPER format in a column
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Change all Text to PROPER format in a column
- This topic has 5 replies, 5 voices, and was last updated 24 years, 3 months ago by
simkins_michael.
AuthorTopicsimkins_michael
GuestJanuary 6, 2001 at 2:20 am #1767507Viewing 4 reply threadsAuthorReplies-
WSJohnBF
AskWoody Lounger -
WSdcardno
AskWoody LoungerJanuary 6, 2001 at 3:01 am #1775091If you are doing this on a one-time basis, John’s suggestion is th way to go. If you are doing this often, try the code in
http://www.wopr.com/cgi-bin/w3t/showthread…d&sb=5#Post1143%5B/url%5Dbut change the “Upper(Cell.Value)” function to “Application.Proper(Cell.Value)”
This will convert the selected cells from upper- or mixed-case to proper case. That thread is not a bad place to start looking at VBA macros for this sort of thing. If you are having a hard time linking to that post, the whole code would like like this:
****
Sub ConvertToUpper()
On Error GoTo errConvertToUpper
Dim Cell As Range
For Each Cell In Selection
If Not Cell.HasFormula Then Cell.Value = Application.Proper(Cell.Value)
Next Cell
exitConvertToUpper:
Exit Sub
errConvertToUpper:
If Err.Number = 438 Then
MsgBox “You probably don’t have cell(s) selected”, vbExclamation, “Selection Alert”
Resume exitConvertToUpper
End If
MsgBox Err.Number & ” ” & Err.Description
Resume exitConvertToUpper
End Sub****
-
WSMaryJ
AskWoody Lounger -
WSTomG
AskWoody LoungerJanuary 6, 2001 at 3:33 am #1775096I provided some code in the VBA forum for UPPER, however since you asked here, I’ll provide my version of dcardno’s answer. (I prefer to use the VBA function StrConv, since there’s no VBA Proper like there is UCase and LCase)
How about this:
Sub ConvertToProper() On Error GoTo errConvertToProper Dim Cell As Range For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = StrConv(Cell.Value, vbProperCase) Next Cell exitConvertToProper: Exit Sub errConvertToProper: If Err.Number = 438 Then MsgBox "You probably don't have cell(s) selected", vbExclamation, "Selection Alert" Resume exitConvertToProper End If MsgBox Err.Number & " " & Err.Description Resume exitConvertToProper End Sub
HTH
-
simkins_michael
Guest
Viewing 4 reply threads - This topic has 5 replies, 5 voices, and was last updated 24 years, 3 months ago by
-

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
two pages side by side land scape
by
marc
7 hours, 42 minutes ago -
Deleting obsolete OneNote notebooks
by
afillat
9 hours, 47 minutes ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
9 hours, 57 minutes ago -
Security Essentials or Defender?
by
MalcolmP
10 hours, 1 minute ago -
April 2025 updates out
by
Susan Bradley
1 hour, 28 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
12 hours, 13 minutes ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
12 hours, 15 minutes ago -
Creating an Index in Word 365
by
CWBillow
1 hour, 20 minutes ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 hour, 36 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
1 day, 4 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
1 day, 8 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
1 day, 10 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
1 day, 8 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
1 day, 1 hour ago -
I installed Windows 11 24H2
by
Will Fastie
3 hours, 53 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
1 day, 13 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
3 hours, 22 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
1 day, 21 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
1 day, 5 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
1 day, 6 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
2 days, 14 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
2 days, 23 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
2 days, 1 hour ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
2 days, 7 hours ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
2 days, 18 hours ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
4 days, 10 hours ago -
50 years and counting
by
Susan Bradley
1 day, 8 hours ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
1 day, 11 hours ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
4 days, 21 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
4 days, 21 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.