✅ Step-by-Step: Windows 11 me Word Macro ke liye Shortcut Key Set Karna
🔹 Step 1: Macro Create Karo
-
Open Microsoft Word.
-
Press
Alt + F11→ VBA Editor open hoga. -
Insert > Modulepar click karo. -
Paste ye combined macro code:
Open Microsoft Word.
Press Alt + F11 → VBA Editor open hoga.
Insert > Module par click karo.
Paste ye combined macro code:
vbaSub ToggleTextCase() Dim txt As String Dim newText As String txt = Selection.Range.Text If txt = UCase(txt) Then newText = StrConv(txt, vbProperCase) ElseIf txt = StrConv(txt, vbProperCase) Then newText = LCase(txt) Else newText = UCase(txt) End If Selection.Range.Text = newText End Sub
Comments
Post a Comment