How do I change everything in my spreadsheet to all UPPERCASE?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm just trying to make everything in my spreadsheet the same case. Is there
an easy way to do this, like there is in Word?
 
Go into VBE and enter the following all in one line

for each sht in this workbook.sheets:for each cl in
sht.usedrange.cells:cl.value=ucase(cl.value):next:next

replace ucase with lcase if you desire lowercase

http://HelpExcel.com
 
Remove the space I accidentally embedded between the word this and workbook...

It should read thisworkbook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top