473,324 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Set all font to capital letters

I am trying to set certain cells to capitalize any input whethere they have the caps lock on or not. I have toyed with "Private Sub Workbook_SheetChange" to turn all changes into an object with capital letters, but I am afraid if anyone ever removed the protection, that could be dangerous. I have also set the font on some of my worksheets to Perpetua Titling MT, which works well except that the font is a little funky. For some reason, on my summary page, setting that font on cells has no effect and the font still shows as Arial. Does anyone have any suggestions of how to safely make these cells show caps only safely?
Sep 4 '07 #1
3 2993
Ali Rizwan
925 512MB
I am trying to set certain cells to capitalize any input whethere they have the caps lock on or not. I have toyed with "Private Sub Workbook_SheetChange" to turn all changes into an object with capital letters, but I am afraid if anyone ever removed the protection, that could be dangerous. I have also set the font on some of my worksheets to Perpetua Titling MT, which works well except that the font is a little funky. For some reason, on my summary page, setting that font on cells has no effect and the font still shows as Arial. Does anyone have any suggestions of how to safely make these cells show caps only safely?
Tell me whether you are trying to display the fields in textboxes or in labels or in DataGrid.
If datagrid then i ll search for you more instead otherwise use Ucase( ) command.
reply
Sep 4 '07 #2
Yes, in the datagrid
Sep 4 '07 #3
Ali Rizwan
925 512MB
Yes, in the datagrid
Ok
I have an idea. Tell me that r u updating record directly from dgrid or using textboxes.
textboxes is the good & secure way to update record.
use UCase() for textboxes for uppercase then dgrid is always updated with ucase.
I ll made up an example for u jusst wait for some minutes.
Sep 4 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Carlos Marangon | last post by:
Hello! People go to sign my guestbook and wrote all text in capital letters. Did you know any script that shows an window alert when one types the second capital letter? Best regards,
21
by: James Moe | last post by:
Hello, I just joined this group and saw the discussion "What do you think of resizing 1em to 10px?" I am somewhat confused by what y'all think should be used as a reference size. I was surprised...
2
by: John | last post by:
Now and again I like to start a sentence with a large capital, maybe in a different font. This upsets the line spacing and I've failed to find any css that will effectively crop the capital letter...
19
by: Cezar | last post by:
Hi! I have simple css class: ..button1{ margin:0; border:1px solid; cursor:pointer; height:20px; font:normal normal bold 10px Verdana,Arial,Helvetica,sans-serif;
20
by: B Wooster | last post by:
There is a page that shows Firefox 1.0 render text differently for CSS as compared to FONT FACE for one particular font: http://www.aczoom.com/fonts/xdvng.ttf is the font that does not work. ...
0
by: stainless | last post by:
I am currently designing a .NET system that takes a piece of text from a SQL Server database (this is variable), writes it to an excel spreedsheet in a cell of known length and height (in...
5
by: Sal Monella | last post by:
At http://tides.org the (all caps) font on the top-row links on the various horizontally mounted dropdown menus appear abnormally tall and narrow to me. How do you do this? line height...
5
Presto731
by: Presto731 | last post by:
HOW do i make the letters in various fields on a form always be capital no matter if they used capital letters or not when typing?
6
by: shapper | last post by:
Hello, I created the following header: http://www.27lamps.com/Beta/Typography/Typography.html Where Font Size is the same as Line Height: 2.0em. Shouldn't the border be next to the text? ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.