Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2021, 04:47 AM
Bikram Bikram is offline Changing a list of word to upper case Windows 10 Changing a list of word to upper case Office 2007
Advanced Beginner
Changing a list of word to upper case
 
Join Date: Jul 2021
Location: Nepal
Posts: 94
Bikram is on a distinguished road
Default Changing a list of word to upper case

Greetings to all,


I am working on a document where I have to change the heading to uppercase and while doing so, I have to be careful because I cannot change any preposition like the, on, in, with, a, and, etc. So, what I am really trying to do is 'Change all the first letters of the word to uppercase excluding some words listed above. I have attached a sample file, plz have a look and suggest a solution. Thanks in advance.
Attached Files
File Type: docx Sample.docx (13.5 KB, 6 views)
Reply With Quote
  #2  
Old 11-10-2021, 05:36 AM
gmayor's Avatar
gmayor gmayor is offline Changing a list of word to upper case Windows 10 Changing a list of word to upper case Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

See the True Title Case example code on my web site at VBA Code Examples (2)
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 11-10-2021, 09:58 PM
Bikram Bikram is offline Changing a list of word to upper case Windows 10 Changing a list of word to upper case Office 2007
Advanced Beginner
Changing a list of word to upper case
 
Join Date: Jul 2021
Location: Nepal
Posts: 94
Bikram is on a distinguished road
Default

Thanks, sir for the reply. The code that you have provided exactly met my needs.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to apply sentence case but maintain upper case for things like UK, USA, etc drrr Word VBA 0 09-20-2021 12:19 PM
Changing a list of word to upper case Toggle between upper case, lower case, etc... by one single macro on a Mac, to emulate Shift + F3 on gloub Word VBA 2 01-30-2019 12:40 PM
Hard return renders upper case clafond Word 2 01-07-2013 12:26 PM
Changing a list of word to upper case From all UPPER CASE to Proper Case davers Word 1 04-30-2009 12:41 PM
Upper to lower case jd Excel 1 04-28-2006 07:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft