Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
formhelp
 
Posts: n/a
Default Changing font from lowercase to uppercase easily

In Word I know that we can change the font of an entire document from
lowercase to uppercase without having to re-type the document...is that
possible in Excel?
  #2   Report Post  
Rachel
 
Posts: n/a
Default

Create a macro named Upper_Case any time you need to change case select the
cells and run the macro.

Insert the following code in the sub routine:

Sub Upper_Case()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Dim Cell as Range
On Error Resume Next 'In case no cells in selection
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
Cell.Formula = UCase(Cell.Formula)
Next
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub


"formhelp" wrote:

In Word I know that we can change the font of an entire document from
lowercase to uppercase without having to re-type the document...is that
possible in Excel?

  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Specifically you would install the macro in your personal.xls so
that it can be accessed from any workbook.
http://www.mvps.org/dmcritchie/excel/getstarted.htm

The subroutine is installed in a Standard Code Module, not a subroutine.

One of the advantages of referencing a web page is all of the
explanations that go with the code.
http://www.mvps.org/dmcritchie/excel/proper.htm
Another advantage is revisions are easily made to a webpage.

This is an interesting thread -- I do not see the original message,
except as include in Rachel's reply,
nor does a thread with this subject appear in Google Groups, nor does the
url based on the message-id
http://groups.google.com/groups?thre...0microsoft.com
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Rachel" wrote...
Create a macro named Upper_Case any time you need to change case select the
cells and run the macro.

Insert the following code in the sub routine:

Sub Upper_Case()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
Dim Cell as Range
On Error Resume Next 'In case no cells in selection
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
Cell.Formula = UCase(Cell.Formula)
Next
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = True
End Sub


"formhelp" wrote:

In Word I know that we can change the font of an entire document from
lowercase to uppercase without having to re-type the document...is that
possible in Excel?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing font from lowercase to uppercase easily Peo Sjoblom Excel Discussion (Misc queries) 0 May 18th 05 05:40 PM
changing the width of the font drop-down menu box? z.entropic Excel Discussion (Misc queries) 2 May 10th 05 10:27 PM
Changing font size in a list box [email protected] Excel Discussion (Misc queries) 1 December 21st 04 05:07 PM
Changing default font in comments? philk Excel Discussion (Misc queries) 1 December 15th 04 12:03 AM
uppercase to lowercase Mammoth Excel Discussion (Misc queries) 3 November 28th 04 04:19 AM


All times are GMT +1. The time now is 06:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"