Philosophaie
Active Member
- Joined
- Mar 5, 2010
- Messages
- 256
Is there a VBA function that will make all letters in a cell capitols?
Sub upper()
With Range("A1")
.Value = UCase(.Value)
End With
End Sub
I'm not following that?In fact just in case you have formula producing the words you could use .Formula instead of .Value
Ah, I understand where you are coming from.Lets say the cell A1 houses =IF(B1="","boo",""). If B1 was empy then A1 would say boo. If the OP used my original macro then boo would read BOO but the formula would gone. Using .Formula the cell would say =IF(B1="","BOO",""). Ill just test that!
Possibly, but we are probably at the point where we need some more info from the OP about just what they have and what they are trying to achieve.I suppose this could be solved by using UPPER(B1)? Then the formula are still preserved.