VBA UCASE FUNCTION

UCASE

 

We use UCASE function in excel macro. With use of Ucase function we convert a string into upper case. We have “computer” value in A1 cell, I want that “computer” word will be converted in upper case like “COMPUTER” and will be pasted in A5 cell. For this we have to use Range(“A5”).Value=UCase(Range(“A1”).VALUE)

 

UCASE Function का प्रयोग हम Excel Macro में करते है. UCASE का प्रयोग कर हम किसी string के letter को Upper case में convert करते है. A1 cell में computer लिखा है, मैं चाहता हूँ कि computer जो Lower case में है, upper Case में convert हो जाये और A5 cell में paste हो जाये. इसके लिए हमें इस macro को प्रयोग करना होगा.

Sub UCASE1()
Range(“A5”).Value = UCase(Range(“A1”).Value)
End Sub

 

VBA UCASE FUNCTION1 Download

Click Here Download File