ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cell Defaults (https://www.excelbanter.com/excel-discussion-misc-queries/109945-cell-defaults.html)

Mosaic Steve

Cell Defaults
 
Can I set cells to default to CAPS only when text is entered?

Thanks,
Steve

Gary''s Student

Cell Defaults
 
Use the CAPS LOCK key
--
Gary''s Student


"Mosaic Steve" wrote:

Can I set cells to default to CAPS only when text is entered?

Thanks,
Steve


Mosaic Steve

Cell Defaults
 
Not the answer im looking for.. I need a default set so anyone who opens the
spreadsheet and enters data, the text will automatically default to caps. I
can do this in VB and other programs. Not sure if Excel has that feature.

"Gary''s Student" wrote:

Use the CAPS LOCK key
--
Gary''s Student


"Mosaic Steve" wrote:

Can I set cells to default to CAPS only when text is entered?

Thanks,
Steve


Dave Peterson

Cell Defaults
 
Nothing built into excel, but you can use an event macro.

See Chip Pearson's site:
http://cpearson.com/excel/case.htm

You can read more about events at:
Chip Pearson's site:
http://www.cpearson.com/excel/events.htm

David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/event.htm

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Mosaic Steve wrote:

Not the answer im looking for.. I need a default set so anyone who opens the
spreadsheet and enters data, the text will automatically default to caps. I
can do this in VB and other programs. Not sure if Excel has that feature.

"Gary''s Student" wrote:

Use the CAPS LOCK key
--
Gary''s Student


"Mosaic Steve" wrote:

Can I set cells to default to CAPS only when text is entered?

Thanks,
Steve


--

Dave Peterson

Gary''s Student

Cell Defaults
 
I understand. You can control CAPS LOCK. See:


http://groups.google.com/group/micro...b7257930476d1d

Include a call in a workbook open event macro to set CAPS LOCK on.

To learn about event macros. see:


http://www.cpearson.com/excel/events.htm



--
Gary's Student


"Mosaic Steve" wrote:

Not the answer im looking for.. I need a default set so anyone who opens the
spreadsheet and enters data, the text will automatically default to caps. I
can do this in VB and other programs. Not sure if Excel has that feature.

"Gary''s Student" wrote:

Use the CAPS LOCK key
--
Gary''s Student


"Mosaic Steve" wrote:

Can I set cells to default to CAPS only when text is entered?

Thanks,
Steve


Gord Dibben

Cell Defaults
 

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Column 8 Then Exit Sub
On Error GoTo ErrHandler
Application.EnableEvents = False
Target.Formula = UCase(Target.Formula)
ErrHandler:
Application.EnableEvents = True
End Sub

Right-click on the sheet tab and "View Code"

Copy/paste the code into that module.

Operates on columns A through H.

Change the Target.Column = 8 to adjust.


Gord Dibben MS Excel MVP

On Thu, 14 Sep 2006 06:00:02 -0700, Mosaic Steve
wrote:

Not the answer im looking for.. I need a default set so anyone who opens the
spreadsheet and enters data, the text will automatically default to caps. I
can do this in VB and other programs. Not sure if Excel has that feature.

"Gary''s Student" wrote:

Use the CAPS LOCK key
--
Gary''s Student


"Mosaic Steve" wrote:

Can I set cells to default to CAPS only when text is entered?

Thanks,
Steve




All times are GMT +1. The time now is 06:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com