Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try this
Option Explicit Dim cell As Range Sub test() For Each cell In Selection cell.Value = UCase(cell.Value) Next End Sub -- Gary "DKY" wrote in message ... I'm trying to make my selection uppercase by doing something like this. Selection.Value = ucase(Selection.Value) and it keeps giving me a data type mismatch error. What am I doing wrong here? -- DKY ------------------------------------------------------------------------ DKY's Profile: http://www.excelforum.com/member.php...o&userid=14515 View this thread: http://www.excelforum.com/showthread...hreadid=565539 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data with starting with - causes Type Mismatch | Excel Programming | |||
Help: Compile error: type mismatch: array or user defined type expected | Excel Programming | |||
Database Query -- Data Type Mismatch | Excel Discussion (Misc queries) | |||
Type Mismatch Error when getting data from another workbook | Excel Programming | |||
Varient Int data type mismatch | Excel Programming |