#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default All Caps

I want whatever the user puts into the text boxes to be in Caps.
don't care when it changes, whether when they type it, before it goe
into the cell or whatever, just as long as at the end of the da
everything in columns A and B are in all caps.
Thanks

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default All Caps

Hi
see: http://www.cpearson.com/excel/case.htm

--
Regards
Frank Kabel
Frankfurt, Germany


I want whatever the user puts into the text boxes to be in Caps. i
don't care when it changes, whether when they type it, before it goes
into the cell or whatever, just as long as at the end of the day
everything in columns A and B are in all caps.
Thanks.


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default All Caps

The poster asked for text boxes not cells.

Putting things in all caps that should not be in caps is about as
unprofessional as you can get for an appearance.

KB 152379 - How to Copy the Text Within a Text Box to a Cell
http://support.microsoft.com/?kbid=152379
( you can Google kbid=152379)


Here is a regular macro to change text to all capitals in the textboxes
of the active worksheet.

Sub KinderTextboxCaps()
Dim tbox As TextBox
For Each tbox In ActiveSheet.TextBoxes
tbox.Text = UCase(tbox.Text)
Next tbox
End Sub


This is an Event macro (install with right on sheet tab, view code, ...)
that will change to caps upon selection of the worksheet.

Private Sub Worksheet_Activate()
' change all textboxes on the page to caps
' upon worksheet activation. DMcR 2004-07-15
Dim tbox As TextBox
For Each tbox In ActiveSheet.TextBoxes
tbox.Text = UCase(tbox.Text)
Next tbox
End Sub

has been added to:
InputBox, MsgBox and TextBox
http://www.mvps.org/dmcritchie/excel/inputbox.htm
---
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

"Frank Kabel" wrote ...
see: http://www.cpearson.com/excel/case.htm



I want whatever the user puts into the text boxes to be in Caps. i
don't care when it changes, whether when they type it, before it goes
into the cell or whatever, just as long as at the end of the day
everything in columns A and B are in all caps.
Thanks.


---
Message posted from http://www.ExcelForum.com/




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default All Caps

Interesting in rereading the posting by Scott n' Shelly said "text boxes" but
indicates Columns A and B.

I think there may be a problem in terminology here and Frank and Don may
be clairvoyant. If it is to be text boxes and column A & B it would have to
be know which corner of a textbox is to be checked if it is in Col A or Col B.

Help answer wizard textbox Add a text box to a chart (or to a worksheet)

---
"scottnshelly " wrote in message
I want whatever the user puts into the text boxes to be in Caps. i
don't care when it changes, whether when they type it, before it goes
into the cell or whatever, just as long as at the end of the day
everything in columns A and B are in all caps.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default All Caps

Hi David
and only the OP knows <vbg

I first also thought the OP meant real rextboxes but seeing this column
A, B statement I assumed the OP simply misspelled :-)


--
Regards
Frank Kabel
Frankfurt, Germany


David McRitchie wrote:
Interesting in rereading the posting by Scott n' Shelly said "text
boxes" but indicates Columns A and B.

I think there may be a problem in terminology here and Frank and Don
may
be clairvoyant. If it is to be text boxes and column A & B it
would have to be know which corner of a textbox is to be checked if
it is in Col A or Col B.

Help answer wizard textbox Add a text box to a chart (or to
a worksheet)

---
"scottnshelly " wrote
in message
I want whatever the user puts into the text boxes to be in Caps.

i
don't care when it changes, whether when they type it, before it
goes into the cell or whatever, just as long as at the end of the
day everything in columns A and B are in all caps.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default All Caps

Sorry for the confusion,
The userform has two textboxes. the info from textbox1 goes int
column A, textbox2 to column B. I don't care where the text get
converted to uppercase, as long as by the end of the day everything i
columns A and B are in uppercase. i don't care about professionalis
on this workbook.
In summation, It doesn't matter if the text is converted to uppercas
in the textboxes, or in the cells. either one would be fine. jus
help me make everything uppercase.
Thanks

--
Message posted from http://www.ExcelForum.com

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default All Caps

try this in a before_close event in the ThisWorkbook module

Sub uscaseAandB()
mr = Columns("a:b").Find("*", searchdirection:=xlPrevious).Row
'rest is mostly McRitchie
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
For Each cell In Range("a1:b" & mr)
If cell.HasFormula = False Then
cell.Value = UCase(cell.Value)
End If
Next cell
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub

--
Don Guillett
SalesAid Software

"scottnshelly " wrote in
message ...
I want whatever the user puts into the text boxes to be in Caps. i
don't care when it changes, whether when they type it, before it goes
into the cell or whatever, just as long as at the end of the day
everything in columns A and B are in all caps.
Thanks.


---
Message posted from
http://www.ExcelForum.com/



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
In excel can you change words from all caps to initial caps? O2bardy Excel Discussion (Misc queries) 7 May 7th 10 03:33 PM
fix all caps text to first letter caps MBartine Excel Discussion (Misc queries) 1 August 8th 06 03:02 AM
How to change ALL CAPS to Initial Caps only? Robert Judge Excel Worksheet Functions 5 September 24th 05 11:14 PM
How can I convert all Caps to first letter caps in Excel? Fenljp26 Excel Worksheet Functions 5 June 30th 05 11:35 AM
excel sheet all caps and needs to be only the first letter caps.. kroberts Excel Discussion (Misc queries) 1 March 7th 05 02:44 PM


All times are GMT +1. The time now is 12:35 PM.

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

About Us

"It's about Microsoft Excel"