Monday, April 14, 2025

Change Case VBA for Microsoft Excel

Huruf Besar

Sub Uppercase() For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = UCase(Cell.Value) End If Next Cell End Sub

Huruf Kecil

Sub Lowercase() For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = LCase(Cell.Value) End If Next Cell End Sub

Sentence Case

Sub Propercase() For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = _ Application _ .WorksheetFunction _ .Proper(Cell.Value) End If Next Cell 

End Sub 

No comments:

Post a Comment

Portrait Reference Frame Prompt for Gemini & Video Prompt for VEO 3

Create a professional character reference sheet based strictly on the uploaded reference image. Use a clean, neutral plain background and pr...